[ZPT] ZPT beginner questions

Sim Harbert sim.harbert@zapmedia.com
Tue, 10 Apr 2001 19:37:20 -0400


Great, it is working!  It is cool to have namespaces for the looping.  In
this case I can handle the batching in the function itself.

In the wiki example, use "::" at the end of the line and the next paragraph
will be displayed verbatim.  That example does help.

Thanks,
-Sim

richard@bizarsoftware.com.au wrote:

> A "direct" translation isn't possible at the moment, because batching
> hasn't been implemented for tal:repeat. The rest of the functionlity could
> be implemented as:
>
> <div tal:repeat="item python:here.getList('foo')">
>  <span tal:replace="item">item</span><br>
> </div>
>
> My wiki editing skills suck - I tried to add an example to
> http://dev.zope.org/Wikis/DevSite/Projects/ZPT/LoopExamples but I stuffed
> up the formatting. I can't edit the page to fix it either, so it stays
> stuffed ;)
>
>     Richard
>
> --
> Richard Jones
> richard@bizarsoftware.com.au
> Senior Software Developer, Bizar Software (www.bizarsoftware.com.au)