|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Retention(value=RUNTIME) @Documented @Target(value=METHOD) public @interface Action
Marks a method as an action. The action method will be rendered as a button.
An action method can return another page object as a result of its execution.
If null
is being returned by an action method this means that
the action method has taken care of the output page generation itself.
When an action method has a parameter type that corresponds with the type of
an Output
List
item then the action will be rendered as a
table entry action for the corresponding table. That way a user can execute
actions on table entries.
Optional Element Summary | |
---|---|
java.lang.String |
confirmation
Optional confirmation message shown to the user before performing the action. |
boolean |
skipConstraints
Set to true to skip constraints verification on Input
fields. |
java.lang.String |
value
The optional human-readable name of the action. |
public abstract java.lang.String value
public abstract boolean skipConstraints
true
to skip constraints verification on Input
fields.
public abstract java.lang.String confirmation
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |