Iterating n times in dtml
How can I make a loop that iterates n times (n being a variable) in dtml? Thanks in advance, Igor Leturia
<dtml-in variable> </dtml-in> Have a look at the DTML in docs. ----- Original Message ----- From: "Igor Leturia" <IGOR@emun.com> To: <zope@zope.org> Sent: Monday, January 21, 2002 1:43 PM Subject: [Zope] Iterating n times in dtml How can I make a loop that iterates n times (n being a variable) in dtml? Thanks in advance, Igor Leturia _______________________________________________ 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 )
How about: <dtml-in "_.range(int(variable))"> </dtml-in> Igor Leturia wrote:
How can I make a loop that iterates n times (n being a variable) in dtml?
Thanks in advance,
Igor Leturia
_______________________________________________ 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 )
participants (3)
-
Andy -
Igor Leturia -
John Ziniti