public class JsfView
extends java.lang.Object
implements org.springframework.webflow.execution.View
View implementation.| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
EVENT_KEY |
| Constructor and Description |
|---|
JsfView(javax.faces.component.UIViewRoot viewRoot,
javax.faces.lifecycle.Lifecycle facesLifecycle,
org.springframework.webflow.execution.RequestContext context)
Creates a new JSF view.
|
| Modifier and Type | Method and Description |
|---|---|
org.springframework.webflow.execution.Event |
getFlowEvent() |
java.io.Serializable |
getUserEventState() |
javax.faces.component.UIViewRoot |
getViewRoot()
Returns the underlying view root.
|
boolean |
hasFlowEvent() |
void |
processUserEvent()
Executes postback-processing portions of the standard JSF lifecycle including APPLY_REQUEST_VALUES through
INVOKE_APPLICATION.
|
void |
render()
Performs the standard duties of the JSF RENDER_RESPONSE phase.
|
void |
saveState()
Updates the component state stored in View scope so that it remains in sync with the updated flow execution
snapshot
|
void |
setViewRoot(javax.faces.component.UIViewRoot viewRoot) |
java.lang.String |
toString() |
boolean |
userEventQueued() |
public static final java.lang.String EVENT_KEY
public JsfView(javax.faces.component.UIViewRoot viewRoot,
javax.faces.lifecycle.Lifecycle facesLifecycle,
org.springframework.webflow.execution.RequestContext context)
viewRoot - the view rootfacesLifecycle - the flow faces lifecyclecontext - the current flow requestpublic javax.faces.component.UIViewRoot getViewRoot()
public void setViewRoot(javax.faces.component.UIViewRoot viewRoot)
public void render()
throws java.io.IOException
render in interface org.springframework.webflow.execution.Viewjava.io.IOExceptionpublic boolean userEventQueued()
userEventQueued in interface org.springframework.webflow.execution.Viewpublic void processUserEvent()
processUserEvent in interface org.springframework.webflow.execution.Viewpublic void saveState()
saveState in interface org.springframework.webflow.execution.Viewpublic java.io.Serializable getUserEventState()
getUserEventState in interface org.springframework.webflow.execution.Viewpublic boolean hasFlowEvent()
hasFlowEvent in interface org.springframework.webflow.execution.Viewpublic org.springframework.webflow.execution.Event getFlowEvent()
getFlowEvent in interface org.springframework.webflow.execution.Viewpublic java.lang.String toString()
toString in class java.lang.Object