23 Jul
2002
23 Jul
'02
3:35 p.m.
how about: <dtml-call "REQUEST.set('flag', 0)"> <dtml-if "..."> <dtml-in "..."> <dtml-call "REQUEST.set('flag', 1)"> </dtml-in> </dtml-if> <dtml-if "flag == 0"> ... </dtml-if> Is that what you want? I preffer to use REQUEST.set over dtml-let. Rick Bjørge Solli wrote:
I want something like this:
flag=0 if ...: <dtml-in ...> ... flag=1 </dtml-in> endif if not flag: print something else endif
But I can't figure out how to change a variable initialized by <dtml-let flag='0'>. How can I do this?
This is really frustrating, I feel like a total idiot asking for help about such a basic thing!
Bjorge