5 Sep
2003
5 Sep
'03
5:52 p.m.
On Friday 05 September 2003 14:38, Chris Withers wrote:
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> ?
<dtml-if "_.getitem('w')==1"> do stuff </dtml-if> ?
cheers,
Chris
Thanks for your help, but let me run this by you: <dtml-if w> does what it should do but what you suggest does not work nor do any of the other combinations i have tried. I can demostrate that w=1 by displaying <dtml-var w>. Any further ideas regards garry