[Zope] including a ZPT inside a repeat loop

Jens Vagelpohl jens at dataflake.org
Tue Sep 27 12:04:39 EDT 2005


On 27 Sep 2005, at 17:02, Matthew White wrote:

> Hello,
>
> I've got this following bit of ZPT:
>
>     <tal:loop repeat="t    container.py.get_queue(whence=q,  
> userid=userid))">
>
>         <span tal:replace="structure here/queue_template">
>             Queue Template Goes Here
>         </span>

you're using a python notation without declaring it as such. Try...

<tal:loop repeat="t python: container.py.get_queue(whence=q,  
userid=userid)">

jens



More information about the Zope mailing list