| java.lang.Object uk.org.ponder.rsf.flow.jsfnav.NavigationCase
NavigationCase | public class NavigationCase (Code) | | Summarises a single "navigation case", a static rule mapping from the return
value of an RSF Action into the ViewParameters to be navigated to. Used by
the "JSF Navigation Style" ActionResultInterpreter,
uk.org.ponder.rsf.flow.jsfnav.JSFNavActionResultInterpreter .
This has been extended from the JSF model to include a single extra field,
the "flow condition marker" which determines flow propagation state of parts
of the bean model marked as managed by a
uk.org.ponder.rsf.preservation.StatePreservationStrategy .
author: Antranig Basman (antranig@caret.cam.ac.uk) |
flowCondition | public String flowCondition(Code) | | A "Flow condition marker" for this navigation rule. This is set if this
navigation rule is considered to be part of an "informal flow".
Defaults to
uk.org.ponder.rsf.flow.ARIResult .FLOW_END representing
no flow state or termination of any existing flow. Set to FLOW_START,
PROPAGATE or FLOW_ONESTEP for other flow behaviour.
|
fromOutcome | public String fromOutcome(Code) | | The return value from the method binding executed for this action
which matches this rule. If fromOutcome is left blank, this
rule will operate for all actions handled for this view.
|
resultingView | public AnyViewParameters resultingView(Code) | | Final navigation state that this rule will cause navigation to if it is
selected.
|
NavigationCase | public NavigationCase()(Code) | | |
NavigationCase | public NavigationCase(AnyViewParameters resultingView)(Code) | | A default NavigationCase which operates for any action return. This rule
will navigate to the state specified by resultingView *
|
NavigationCase | public NavigationCase(String fromOutcome, AnyViewParameters resultingView)(Code) | | A NavigationCase which triggers only on a particular outcome (action return)
|
|
|