|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.faces.application.NavigationHandler
org.springframework.web.jsf.DecoratingNavigationHandler
org.springframework.webflow.executor.jsf.FlowNavigationHandler
public class FlowNavigationHandler
An implementation of a JSF NavigationHandler that provides
integration with Spring Web Flow. It delegates handling to the standard
NavigationHandler implementation when a navigation request does not pertain
to a flow execution.
Specifically, the following navigation handler algorithm is implemented:
Flow definition with that id and
launch a new flow execution in the starting state. Expose information to
indicate that this flow is in progress and render the starting
ViewSelection.NavigationHandler implementation and return.ViewSelection returned.
| Field Summary | |
|---|---|
protected org.apache.commons.logging.Log |
logger
Logger, usable by subclasses. |
| Constructor Summary | |
|---|---|
FlowNavigationHandler()
Create a new FlowNavigationHandler using the default constructor. |
|
FlowNavigationHandler(javax.faces.application.NavigationHandler originalNavigationHandler)
Create a new FlowNavigationHandler, wrapping the specified
standard navigation handler implementation. |
|
| Method Summary | |
|---|---|
protected MutableAttributeMap |
createInput(FlowExecution flowExecution,
ExternalContext context)
Factory method that creates the input attribute map for a newly created FlowExecution. |
FlowExecutorArgumentExtractor |
getArgumentExtractor()
Returns the argument extractor used by this navigation handler. |
void |
handleNavigation(javax.faces.context.FacesContext facesContext,
java.lang.String fromAction,
java.lang.String outcome,
javax.faces.application.NavigationHandler originalNavigationHandler)
|
void |
setArgumentExtractor(FlowExecutorArgumentExtractor argumentExtractor)
Sets the argument extractor to use. |
| Methods inherited from class org.springframework.web.jsf.DecoratingNavigationHandler |
|---|
callNextHandlerInChain, getDecoratedNavigationHandler, handleNavigation |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final org.apache.commons.logging.Log logger
| Constructor Detail |
|---|
public FlowNavigationHandler()
FlowNavigationHandler using the default constructor.
public FlowNavigationHandler(javax.faces.application.NavigationHandler originalNavigationHandler)
FlowNavigationHandler, wrapping the specified
standard navigation handler implementation.
originalNavigationHandler - Standard NavigationHandler
we are wrapping| Method Detail |
|---|
public FlowExecutorArgumentExtractor getArgumentExtractor()
public void setArgumentExtractor(FlowExecutorArgumentExtractor argumentExtractor)
public void handleNavigation(javax.faces.context.FacesContext facesContext,
java.lang.String fromAction,
java.lang.String outcome,
javax.faces.application.NavigationHandler originalNavigationHandler)
handleNavigation in class org.springframework.web.jsf.DecoratingNavigationHandler
protected MutableAttributeMap createInput(FlowExecution flowExecution,
ExternalContext context)
FlowExecution. TODO - add support for input mappings here
flowExecution - the new flow execution (yet to be started)context - the external context
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||