[Zope] form with mutiple actions?

Paul Winkler pw_lists@slinkp.com
Fri, 22 Mar 2002 11:36:57 -0800


On Fri, Mar 22, 2002 at 04:54:11PM +0300, Oleg Broytmann wrote:
> On Fri, Mar 22, 2002 at 05:37:23AM -0800, Hamzal Kamal wrote:
> > Is it possible for form to have more than one actions?
> 
>    In general - no. With Zope - yes! Use :method in your submit buttons
> tags.

You can use multiple submit buttons in one form, each with a
different "name" attribute, and just test for its value in the handler.
Works outside of zope, too.
But not so elegant.

--PW