|
Spring Web Flow | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.faces.webflow.JsfView
public class JsfView
JSF-specific View implementation.
| Field Summary | |
|---|---|
static java.lang.String |
EVENT_KEY
|
| Fields inherited from interface org.springframework.webflow.execution.View |
|---|
RENDER_FRAGMENTS_ATTRIBUTE, USER_EVENT_STATE_ATTRIBUTE |
| Constructor Summary | |
|---|---|
JsfView(javax.faces.component.UIViewRoot viewRoot,
javax.faces.lifecycle.Lifecycle facesLifecycle,
RequestContext context)
Creates a new JSF view. |
|
| Method Summary | |
|---|---|
Event |
getFlowEvent()
Get the flow event the current state should handle. |
java.io.Serializable |
getUserEventState()
A memento holding the results of processing a user event. |
javax.faces.component.UIViewRoot |
getViewRoot()
Returns the underlying view root. |
boolean |
hasFlowEvent()
True if a call to View.processUserEvent() raised a flow event the current state should handle. |
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()
True if there is a user event queued this view should process. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String EVENT_KEY
| Constructor Detail |
|---|
public JsfView(javax.faces.component.UIViewRoot viewRoot,
javax.faces.lifecycle.Lifecycle facesLifecycle,
RequestContext context)
viewRoot - the view rootfacesLifecycle - the flow faces lifecyclecontext - the current flow request| Method Detail |
|---|
public javax.faces.component.UIViewRoot getViewRoot()
public void setViewRoot(javax.faces.component.UIViewRoot viewRoot)
public void render()
throws java.io.IOException
render in interface Viewjava.io.IOException - if an IO Exception occured rendering the viewpublic boolean userEventQueued()
View
userEventQueued in interface Viewpublic void processUserEvent()
processUserEvent in interface ViewView.hasFlowEvent()public void saveState()
saveState in interface Viewpublic java.io.Serializable getUserEventState()
View
getUserEventState in interface ViewView.processUserEvent()public boolean hasFlowEvent()
ViewView.processUserEvent() raised a flow event the current state should handle. Call
View.getFlowEvent() to access the Event.
hasFlowEvent in interface Viewpublic Event getFlowEvent()
ViewView.hasFlowEvent() returns
true. Returns null otherwise.
getFlowEvent in interface Viewnull if there is no event for the flow system to handlepublic java.lang.String toString()
toString in class java.lang.Object
|
Spring Web Flow | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||