public class SplitTransition.SplitAction extends FormAction
| Constructor and Description |
|---|
SplitAction(T target,
boolean nav_first) |
| Modifier and Type | Method and Description |
|---|---|
ViewTransitionResult<T,K> |
action(Form f)
Perform the actual action based on the form parameters.
|
java.lang.String |
getConfirm(Form f)
should this action be confirmed before execute
If this returns null no confirm is required.
|
java.lang.String |
getHelp()
Return an optional help text for this action that can be presented as a tooltip etc.
|
getConfirmMessage, getMustValidate, getShortcut, getText, setConfirm, setConfirmArgs, setMustValidate, setNewWindow, wantNewWindowpublic SplitAction(T target, boolean nav_first)
public java.lang.String getHelp()
FormActiongetHelp in class FormActionpublic ViewTransitionResult<T,K> action(Form f) throws ActionException
FormActionTransitionException to show an error message to the user.
or a ActionException to produce a generic error message.action in class FormActionf - FormActionExceptionpublic java.lang.String getConfirm(Form f)
FormAction
The form is passed to allow a sub-class to trigger confirm based on form parameters.
However in this case the implementation must handle an incomplete form.
Note that the message can be set by calling FormAction.setConfirm(String) or
this method can be overidden
getConfirm in class FormActionf - Form calling action.