[Zope] tal:repeat and first and last.

Andreas Pakulat apaku at gmx.de
Wed Dec 29 20:19:20 EST 2004


On 29.Dec 2004 - 21:16:09, Pupeno wrote:
> Hello Zopers
> I've got: 1 True True True. In any condition, 1 and True are the same, so, I 
> couldn't build my condition. What am I doing wrong ? Should I get one true 
> and three flases ?

You should read the Zope-Book, especially the TAL Reference in
Appendix C. The part about tal:repeat explains why the return values
you get are correct and what you're doing wrong.

In short: use repeat[..].(start|end) not first/last

Andreas

-- 
Everything will be just tickety-boo today.


More information about the Zope mailing list