30 Mar
2001
30 Mar
'01
4:44 p.m.
You cannot nest dtml tags like that, this code will not work: <dtml-if expr="<dtml-var ActionList> == 1"> Do this <dtml-elif expr="<dtml-var ActionList> == 2"> Do that. ---------------------------------------------------- You can use the request object like so: <dtml-if expr="REQUEST['ActionList'] == 1"> Do this <dtml-elif expr="REQUEST['ActionList'] == 2"> Do that. or Just pull it out of the namespace: <dtml-if expr="ActionList == 1"> Do this <dtml-elif expr="ActionList == 2"> Do that. The last one is the code you psuedocode you used, surprise,surprise, it works!!!!!