[Zope-dev] [DTML] I give UP!!!! (well, almost... ;))
Butch Landingin
butchland@yahoo.com
Wed, 10 Mar 1999 00:12:15 -0800 (PST)
I've been trying to figure this out, and I've given up (at least for
the day...:().
How do I change the value of a temporary variable that I created with
a namespace method?
e.g.:
<!--#with "_.namespace(prev_value=0)"-->
<!--#in somelist-->
<!--#if "somevalue_from_somelist > prev_value"-->
<!-- ***here I want to set prev_value to somevalue_from_somelist*** -->
<!--#/if-->
...
<!--#if "somevalue_from_somelist < prev_value"-->
<!-- ***here I want to set prev_value to somevalue_from_somelist*** -->
<!--#/if-->
<!--#/in-->
<!--#/with-->
...
I tried the following and they don't work :
<!--#call "_.namespace(prev_value = somevalue_from_somelist)"-->
<!--#call "_.namespace(prev_value = _['somevalue_from_somelist'])"-->
I've tried to look at the dtml of all the products I've d/l'ed and
also at the proto-FAQ but I haven't found one that exactly does this.
Thanks in advance to any DTML guru(s) who can help me this...
Butch Landingin
butchland@yahoo.com
_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com