Here's a question
related to performing more than one successful submit action in a
form:
I have a form
that contains a list of items (shown in a ui:select list).
The form contains
two submit buttons, one to edit the selected item, one to remove the
item.
Handling remove
is easy. The form submits to an action whose doExecute method removes the
item.
Successfully
handling this case (view.properties) is to go back to the same
page.
Edit is hard. I'd
like to forward to another page with a separate form to edit the data for the
select item.
My action can't
do two separate "success" ful things.
I don't want to
have two separate forms, since the item to act upon is chosen in the one form
for both.
Any
ideas?
Rossi