30 Mar
2001
30 Mar
'01
8:02 p.m.
Gitte Wange writes:
<dtml-if expr="ActionList == '1'"> Do this <dtml-elif expr="ActionList == '2'"> Do that. </dtml-if> ... Then I get a NameError Then your form control is not named "ActionList" or it is a multiple selection with no option selected...
You can use <dtml-var REQUEST> to see precisely, what your request contains. Even better, install Shanes excellent ZDebug. Then you will see the request info (and lots more) whenever an exception is raised in a DTML object. I think the following reading will help you, too: URL:http://www.dieter.handshake.de/pyprojects/zope/book/chap3.html Dieter
9137
Age (days ago)
9137
Last active (days ago)
0 comments
1 participants
participants (1)
-
Dieter Maurer