5 Dec
2002
5 Dec
'02
7:12 p.m.
David Bear wrote:
I have want to use something like
<div tal:repeat="topic python:container.listZPT"> <p tal:content="topic/title_or_id"> stuff </p> </div>
the listZPT is a script the returns a list of page template objects.
this throws an TALES exception on repeat topic.
Is it not possible to repeat over a list object in TAL?
You need to 'call' your script: i.e.: <div tal:repeat="topic python:container.listZPT()">