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


@Target(value=ANNOTATION_TYPE)
@Retention(value=RUNTIME)
public static @interface Jpf.ConditionalForward


Required Element Summary
 String condition
          The expression that will trigger this forward (required).
 
Optional Element Summary
 String action
          An action to forward to.
 boolean externalRedirect
           
 String name
          The forward name (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 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 tilesDefinition
          A Tiles definition to forward to.
 

Element Detail

condition

public abstract String condition
The expression that will trigger this forward (required).

name

public abstract String name
The forward name (optional).

Default:
""

path

public abstract String path
The forward path. Mutually-exclusive with navigateTo(), returnAction(), action(), and tilesDefinition().

Default:
""

returnAction

public abstract String returnAction
The action to be invoked on the calling page flow. Mutually-exclusive with path(), navigateTo(), action(), and tilesDefinition(), and only valid in a nested page flow (Jpf.Controller.nested() must be true).

Default:
""

navigateTo

public abstract Jpf.NavigateTo navigateTo
A symbolic name for the page/action to which to navigate. Mutually-exclusive with path(), returnAction(), action(), and tilesDefinition().

Default:
currentPage

action

public abstract String action
An action to forward to. Mutually-exclusive with path(), navigateTo(), returnAction(), and tilesDefinition().

Default:
""

tilesDefinition

public abstract String tilesDefinition
A Tiles definition to forward to. Mutually-exclusive with path(), navigateTo(), returnAction(), and action().

Default:
""

restoreQueryString

public abstract boolean restoreQueryString
Tells whether the original query string will be restored on a rerun of a previous action. Only valid when navigateTo is NavigateTo.previousAction.

Returns:
boolean
Default:
false

outputFormBeanType

public abstract Class outputFormBeanType
Default:
java.lang.Void.class

outputFormBean

public abstract String outputFormBean
Default:
""

redirect

public abstract boolean redirect
Default:
false

externalRedirect

public abstract boolean externalRedirect
Default:
false