Subject: Forwarding requests to other actions?
From: Maurice Mills <[EMAIL PROTECTED]>
 ===
Can I forward a request that is sent to one Action to another Action for
processing?

I have a form with 4 different actions that can be done on it.  I would
like to keep the processing of these actions in separate Action
classes.  The way I see it is there are two options:

1) Use javascript to conditionally set a property depending on the
button clicked.
2) Tie the submit buttons to a single property and use this in the
Action class.

I can then use this property to determine the processing in the Action
class.  These actions, though, can be used on several different
screens.  I would like to implement a DeleteAction, SaveAction,
ForwardAction, etc. and forward to the appropriate one based on the
action property from above.

Can this be done and if so, how?




--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to