[ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Advanced Page Templates

webmaster@zope.org webmaster@zope.org
Thu, 26 Sep 2002 11:50:54 -0400


A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/AdvZPT.stx#3-73

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

      You'll find examples of how to use these variables through out
      this chapter.

        % Anonymous User - Apr. 12, 2002 6:56 pm:
         typo
         ...these variables through out this...
         s/through out/throughout/

        % Anonymous User - Apr. 29, 2002 4:31 pm:
         So, what's the proper syntax for options via a python call in the template? (example?)

        % Anonymous User - July 31, 2002 6:11 am:
         attrs -- A dictionary of attributes of the current tag in the template.

         How come 'attributes' in this::

           <div id='' tal:attributes='id string:id_string>

         but 'attrs' in this::

           The attributes of this element are <span tal:content="attrs"></span>

         Isn't that undesirable inconsistency?

        % Anonymous User - Sep. 26, 2002 11:33 am:
         "tal:attributes" is a TAL statement, "attrs" is a TALES namespace. blf

        % Anonymous User - Sep. 26, 2002 11:50 am:
         Missing *Built-in Name*
         *template* - the template itself.
         http://www.zope.org/Documentation/Books/ZopeBook/current/AppendixC.stx