[Zope] method marshalling

Tommy Johnson tommy@7x.com
Fri, 3 Aug 2001 11:08:03 -0800


I seem to remember someone telling me that I could marshal methods from form
submit buttons. Currently, I use JavaScript to change the form's action
property. So based on what button you press, you will go to the
corresponding method.

Example: I have a form that has three submit buttons that need to do
different things: update, remove, or continue. I want each button to go to a
different action method. With javascript, it's easy, based on what button I
press, I just change the form's action property, and then immediately submit
the form.

But how do I do that with Zope's marshalling technique? I heard
something:methodName, but what property of the submit button do I append the
:methodname to?

Thanks in advance,
Tommy

Innovation:
The Best Way To Predict The Future ...
     Is To Create It.