public interface ViewState extends State
A ViewState
encapsulates the rendering of a JavaServer Faces
view, identified by a specified view identifier. When the
view is rendered, standard org.apache.shale.view.ViewController
functionality will be supported if there is such a corresponding backing
bean. The logical outcome returned by a ViewState
will be the
one returned by the JavaServer Faces action method that was invoked
(if any).
Modifier and Type | Method and Description |
---|---|
String |
getViewId()
Return the view identifier of the JavaServer Faces view to render
if this state is entered.
|
boolean |
isRedirect()
Return
true if the transition to this view should
be done with a redirect, instead of the normal view creation process. |
findTransition, getDialog, getName, getTransitionOutcomes
boolean isRedirect()
Return true
if the transition to this view should
be done with a redirect, instead of the normal view creation process.
String getViewId()
Return the view identifier of the JavaServer Faces view to render if this state is entered.
Copyright © 2004-2013 Apache Software Foundation. All Rights Reserved.