> -----Original Message----- > From: Torsten Curdt [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, April 03, 2002 6:21 PM > To: [EMAIL PROTECTED] > Subject: RE: multiple submit button on a form > > > > this is possible since the latest release... please use the > new cocoon-action syntax
Seems that nobody is aware of the new syntax. Is it documented somewhere? I don't remember if there were any notion in Announcement. > > > <form> > <input type="submit" name="cocoon-action-add" value="press > here to add"> > <input type="submit" name="cocoon-action-del" value="press > here to del"> </form> This allows to have any button name you like. Even in different languages, while the old syntax was too much tied to the button name. Regards, Konstantin > > > then you need to define an action-set in the sitemap for that: > > <map:action-sets> > <map:action-set name="demo"> > <map:act type="addAction" action="add"> > <map:act type="delAction" action="del"> > ... > > You might also want to take a look into the multiactions in > the scratchpad... but that's CVS HEAD only > -- > Torsten > > > --------------------------------------------------------------------- > Please check that your question has not already been answered > in the FAQ before posting. <http://xml.apache.org/cocoon/faqs.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]> --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faqs.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>