BackTalk to Document The Zope Book (2.6 Edition)/Using Zope Page Templates

[email protected]
Newsgroups gmane.comp.web.zope.zdp
Message-ID <[email protected]>
A comment to the paragraph below was recently added via http://zope.org/Documentation/Books/ZopeBook/2_6Edition/ZPT.stx#2-87

---------------

    Create a new Page Template called "entries.xml" in your guest book
    folder with the following contents::

      <guestbook xmlns:tal="http://xml.zope.org/namespaces/tal">
        <entry tal:repeat="entry python:here.objectValues('DTML Document')">
          <comments tal:content="entry/document_src">Comment goes here...</comments>
        </entry>
      </guestbook>

      % snell - Dec. 11, 2003 8:10 am:
       Is this section on Page Templates and TAL?
       Note: objectValues('DTML Document'). Replace that with objectValues('Page Templates') as by rights one
       should, and you get a very different result. And who knows how to clean it up?

_______________________________________________
ZDP maillist  -  [email protected]
http://mail.zope.org/mailman/listinfo/zdp
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.