K
- T
- public class NestAction<K,T> extends FormAction
FormAction
that ignores the current form and chains to a different transition
on the target object.
This is used to implement cancel/abort buttons.Constructor and Description |
---|
NestAction(ViewTransitionFactory<K,T> provider,
K key,
T target) |
Modifier and Type | Method and Description |
---|---|
ChainedTransitionResult |
action(Form f)
Perform the actual action based on the form parameters.
|
java.lang.String |
getHelp()
Return an optional help text for this action that can be presented as a tooltip etc.
|
getConfirm, getConfirmMessage, getMustValidate, getShortcut, getText, setConfirm, setConfirmArgs, setMustValidate, setNewWindow, wantNewWindow
public NestAction(ViewTransitionFactory<K,T> provider, K key, T target)
public ChainedTransitionResult action(Form f) throws ActionException
FormAction
TransitionException
to show an error message to the user.
or a ActionException
to produce a generic error message.action
in class FormAction
f
- FormActionException
public java.lang.String getHelp()
FormAction
getHelp
in class FormAction