[Zope] Form processing in Zope

Dieter Maurer dieter@handshake.de
Fri, 30 Mar 2001 22:02:21 +0200 (CEST)


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