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

webmaster at zope.org webmaster at zope.org
Mon Feb 2 23:51:17 EST 2004


A comment to the paragraph below was recently added via http://zope.org/Documentation/Books/ZopeBook/2_6Edition/ZPT.stx#2-37

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

    Since a 'tal:repeat' loop can be placed inside of another, more
    than one can be active at the same time.  This is why you must
    write 'repeat/item/number' instead of just 'repeat/number'. You
    must specify which loop you're interested in by including the loop
    name.

      % Anonymous User - Feb. 2, 2004 11:51 pm:
       Some confusion here comes from the distinction between paths in file namespace and paths in class namespace.

       It should be stated that the toplevel 'path' specified (ie, "repeat") is actually a base class instance
       created, not a place or random variable. The "this object was created by this statement, now we use this
       property of this object" sentence would be nice.



More information about the ZDP mailing list