Hallo Diego, this works(tested): <dtml-in "[1,2,3,4,]"> <dtml-let x=sequence-item> <dtml-if "x<3"> <dtml-var sequence-item> </dtml-if> </dtml-let> </dtml-in> Bye Sven
===== Original Message From Diego Rodrigo Neufert <diego@magicwebdesign.com.br> ===== Why there isnt a dtml-while function in Zope? How to implement it with dtml? how to do a simple while x != y in dtml?
Thanks in advance...
-- --------------------------- Diego Rodrigo Neufert -webmaster --------------------------- (Magic Web Design) (email) (diego@magicwebdesign.com.br) (curitiba) (pr)
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )