[Zope] (no subject)
Dragomir Denev
D.Denev@CNsys.bg
Tue, 2 May 2000 13:10:41 -0200
Please help.
On the top of 'index_html' I have:
<dtml-if "REQUEST.has_key('SUBMIT')"> // this is the submit button of the form
// the action of the form is 'index_html' itself
<dtml-call insertNewItem> // this is a ZSQL method
</dtml-if>
-here is the form-
The point is that I want the method to be executed only when the form is submitted.
When first displayed nothing unusual happens (the REQUEST doesn't have 'SUBMIT').
But when I submit the form than this is what I get:
Error Type: ValueError
Error Value: Invalid Header (0):
Does anyone know what is wrong with this (or with Zope)?