[ZPT] [Weakness] "tal:repeat" not yet right
Chris Withers
chrisw@nipltd.com
Mon, 01 Oct 2001 20:55:36 +0100
Richard Jones wrote:
>
> like this is what they've been doing _anyway_. That is, there's almost always
> a:
>
> <div tal:define="loop_list some/expression">
> <span tal:repeat="item loop_list"/>
> </div>
>
> or similar. I'm a little out of touch with their latest work, it seems.
Yeah, this is a nasty pattern and one which we often end up getting around
using:
<iterator tal:define="loop_list some/expression"
tal:omit-tag="">
<span tal:repeat="item loop_list"/>
</iterator>
Not very pretty :-S
Chris