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
 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.
 

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 returnAction and navigateTo.

Default:
""

returnAction

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

Default:
""

navigateTo

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

Default:
currentPage

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