17 Jul
2003
17 Jul
'03
11:58 a.m.
Dylan Reinhardt wrote:
Here's what you're trying to do:
<dtml-call "REQUEST.set('some_var', some_function())"> <dtml-call "REQUEST.set('some_var', some_other_function(some_var))">
That's not going to work. Unlike Python, DTML doesn't seem to like using a variable in an expression whose output is stored in the same variable. Maybe somebody smarter could offer an explanation why not.
Don't really see why not... But then, when would you want a construct like the above? cheers, Chris