org.apache.beehive.netui.pageflow.annotations
Annotation Type Jpf.Action


@Target(value=METHOD)
@Retention(value=RUNTIME)
public static @interface Jpf.Action

was jpf:action


Optional Element Summary
 Jpf.Catch[] catches
          exception catches (optional )
 boolean doValidation
          Turn form validation on or off for this action.
 Jpf.Forward[] forwards
          forwards (optional )
 boolean loginRequired
          is login required to access this action (optional )
 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 )
 String[] rolesAllowed
          roles allowed to access this action (optional )
 String useFormBean
          page flow-scoped form; references a member variable (bean) in the page flow (optional )
 Jpf.ValidatableProperty[] validatableProperties
          field-level validation rules tied to the action (optional )
 Jpf.Forward validationErrorForward
          forward used when validation fails
 

useFormBean

public abstract String useFormBean
page flow-scoped form; references a member variable (bean) in the page flow (optional )

Default:
""

readOnly

public abstract boolean readOnly
is this action read-only, i.e., is it guaranteed not to modify member state (optional )

Default:
false

rolesAllowed

public abstract String[] rolesAllowed
roles allowed to access this action (optional )

Default:
{}

loginRequired

public abstract boolean loginRequired
is login required to access this action (optional )

Default:
false

forwards

public abstract Jpf.Forward[] forwards
forwards (optional )

Default:
{}

catches

public abstract Jpf.Catch[] catches
exception catches (optional )

Default:
{}

validatableProperties

public abstract Jpf.ValidatableProperty[] validatableProperties
field-level validation rules tied to the action (optional )

Default:
{}

validationErrorForward

public abstract Jpf.Forward validationErrorForward
forward used when validation fails

Default:
@org.apache.beehive.netui.pageflow.annotations.Jpf.Forward(name="")

doValidation

public abstract boolean doValidation
Turn form validation on or off for this action. If validationErrorForward() is not empty, this value is set to trueautomatically.

Default:
false

preventDoubleSubmit

public abstract boolean preventDoubleSubmit
Prevent multiple submits to this action. If multiple submits occur, a DoubleSubmitException is thrown.

Default:
false