Michele, am i missing something, why dont you do <dtml-if> <dtml-in> </dtml-in> </dtml-if> or some combination thereof??? cheers, garry On 7 Nov 2001, at 17:18, Ruberl Michele wrote: From: Ruberl Michele <mruberl@etnoteam.it> To: "'zope@zope.org'" <zope@zope.org> Subject: [Zope] conditional dtml-in ? Date sent: Wed, 7 Nov 2001 17:18:03 +0100
Hi everybody,
is there a way of making <dtml-in> loops conditionally?
I would need something like <dtml-in expr="objectValues('MyZClass')" where="my_attribute == 1"> Does anybody have a method doing this or a way to help me?
Thanks a lot
Michele
_______________________________________________ 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 )
+-------------------------------------------+ Garry Steedman mailto:gs@styrax.com Styrax Associates http://www.styrax.com/ "The Good Man has no shape." +-------------------------------------------+