[Zope-dev] submitting queies

Stephan Richter srichter@cbu.edu
Sun, 23 Jan 2000 22:46:48 -0600


I have the following problem:

<form  action=".">
    <input name="add:method" type="submit" value="Add">
    <input name="index_html:method" type="submit" value="Cancel">
</form>

The above Form works just fine (this is how Zope handles their object tree as
well).

But,

<form  action=".">
    <input name="add:method" type="image" src="Images/add" >
    <input name="index_html:method" type="submit" value="Cancel">
</form>

does not work. Therefore the :method attribute works only for submit types. Is
this assumption correct? Anyone knows a fix and/or hack?
I am aware that there are other solutions to the problem, but I want to do it
this way if at all possible.

Regards,
Stephan
--
Stephan Richter
iXL - Software Designer and Engineer
CBU - Physics, Computer Science and Chemistry Student