cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Torsten Curdt <tcu...@dff.st>
Subject RE: multiple submit button on a form
Date Wed, 03 Apr 2002 14:21:17 GMT

this is possible since the latest release... please use the new
cocoon-action syntax


<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>


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: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message