Defines a code action handler with associated forwards.
This component is in charge of reacting to a user or GUI event, then navigating to one of the declared forwards.
Note that evaluating the forward name is done only when then user triggers the action. This is useful only if information to decide which forward to follow is only available when the user triggers this action. This component is typically used to react to form submissions.
If information to decide the action is known at render time, then use the SwitchAction
instead.
Attributes | ||
optional
String
|
ID |
The action ID (for url callbacking). |
Named Children Elements | ||
0 - unbounded
param.IUrlParameter[] |
AddParameters |
Additional parameters to pass to the action handler when it is invoked. |
mandatory
binding.Expression |
Do |
Defines the action handler. This component is in charge of:
|
1 - unbounded
action.Case[] |
Forwards |
The list of forwards than can be followed by the action handler. At least one is expected. |
optional
action.IAction |
OnContinueAfterError |
If the DoAndForward produces an error, it will be displayed by the open SUIT error handler. This allows to override the action to process after the user clicks the "continue" button. |