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

webmaster@zope.org webmaster@zope.org
Sun, 22 Sep 2002 06:25:10 -0400


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

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

    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 your interested in by including the loop
    name.

      % Anonymous User - May 7, 2002 7:20 am:
       ... which loop you're interested in...

      % Anonymous User - Sep. 22, 2002 6:25 am:
       Ok, i *must* name the loops. For nested ones i *should* use different names.
       In name resolution, the first one found is taken.