[Zope] ids NameError
Dieter Maurer
dieter at handshake.de
Wed Aug 27 22:14:54 EDT 2003
grissom at qwickconnect.net wrote at 2003-8-26 07:00 -0700:
> After looking through the list for the last hour I could
> not find an answer to the following problem.
>
> I have a dtml form that itterates over the content of a
> folder and displays a checkbox next to each of the files.
> The form allows a user to select items to be deleted. If a
> user does not select a check box I get the folloewing
> error:
>
> Error Type: NameError
> Error Value: global name 'ids' is not defined
>
> This only happens when a checkbox has not been selected.
Add a
<input type=hidden name="ids:tokens:default">
to your form.
Read section 2.6.3 of
<http://www.dieter.handshake.de/pyprojects/zope/book/chap3.html>
to learn why it works.
Dieter
More information about the Zope
mailing list