|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Target(value=ANNOTATION_TYPE) @Retention(value=RUNTIME) public static @interface Jpf.SimpleAction
Required Element Summary | |
---|---|
String |
name
name (required) |
Optional Element Summary | |
---|---|
String |
action
An action to forward to. |
Jpf.Catch[] |
catches
exception catches (optional ) |
Jpf.ConditionalForward[] |
conditionalForwards
|
boolean |
doValidation
Turn form validation on or off for this action. |
boolean |
externalRedirect
|
String |
forwardRef
The name of a class-level forward ( Jpf.ConditionalForward ). |
boolean |
loginRequired
is login required to access this action (optional ) |
Jpf.NavigateTo |
navigateTo
A symbolic name for the page/action to which to navigate. |
String |
outputFormBean
|
Class |
outputFormBeanType
|
String |
path
The forward path. |
boolean |
preventDoubleSubmit
Prevent multiple submits to this action. |
boolean |
readOnly
is this action read-only, i.e., is it guaranteed not to modify member state (optional ) |
boolean |
redirect
|
boolean |
restoreQueryString
Tells whether the original query string will be restored on a rerun of a previous action. |
String |
returnAction
The action to be invoked on the calling page flow. |
String[] |
rolesAllowed
roles allowed to access this action (optional ) |
String |
tilesDefinition
A Tiles definition to forward to. |
String |
useFormBean
page flow-scoped form; references a member variable (bean) in the page flow (optional ) |
Class |
useFormBeanType
the type of form bean to use for this action (optional ) |
Jpf.ValidatableProperty[] |
validatableProperties
field-level validation rules tied to the action (optional ) |
Jpf.Forward |
validationErrorForward
forward used when validation fails |
Element Detail |
---|
public abstract String name
public abstract Jpf.ConditionalForward[] conditionalForwards
public abstract String useFormBean
public abstract Class useFormBeanType
public abstract boolean readOnly
public abstract String[] rolesAllowed
public abstract boolean loginRequired
public abstract Jpf.Catch[] catches
public abstract Jpf.ValidatableProperty[] validatableProperties
public abstract Jpf.Forward validationErrorForward
public abstract boolean doValidation
validationErrorForward()
is not empty, this value is set to true
automatically.
public abstract String path
navigateTo()
, returnAction()
, action()
,
tilesDefinition()
, and forwardRef()
.
public abstract String returnAction
path()
,
navigateTo()
, action()
, tilesDefinition()
, and forwardRef()
, and only valid in
a nested page flow (Jpf.Controller.nested()
must be true
).
public abstract Jpf.NavigateTo navigateTo
path()
,
returnAction()
, action()
, tilesDefinition()
, and forwardRef()
..
public abstract String action
path()
, navigateTo()
, returnAction()
,
tilesDefinition()
, and forwardRef()
..
public abstract String tilesDefinition
path()
, navigateTo()
,
returnAction()
, action()
, and forwardRef()
..
public abstract String forwardRef
Jpf.ConditionalForward
). Mutually-exclusive with with path()
,
navigateTo()
, returnAction()
, tilesDefinition()
, and forwardRef()
.
public abstract boolean restoreQueryString
navigateTo
is NavigateTo.previousAction
.
public abstract Class outputFormBeanType
public abstract String outputFormBean
public abstract boolean redirect
public abstract boolean externalRedirect
public abstract boolean preventDoubleSubmit
DoubleSubmitException
is thrown.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |