4 Sep
2003
4 Sep
'03
11:27 p.m.
<dtml-if "w==1"> do stuffs </dtml-if w==1> if "w" was passed as a string then put single quotes around '1' or convert it to an integer. <dtml-if "_.int(w)==1" > cheers, Mike On Thursday 04 September 2003 02:24 pm, garry saddington wrote:
Does anyone know the syntax to use with dtml-if when i want to do something like this:
<dtml-if <dtml-var w>==1>
do stuff </dtml-if> ?
thanks garry
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )