Package com.sun.faces.application.view
Class JspStateManagementStrategy
java.lang.Object
jakarta.faces.view.StateManagementStrategy
com.sun.faces.application.view.JspStateManagementStrategy
public class JspStateManagementStrategy extends StateManagementStrategy
A state management strategy for JSP.
- Author:
- Manfred Riem (manfred.riem@oracle.com)
-
Constructor Summary
Constructors Constructor Description JspStateManagementStrategy()Constructor.JspStateManagementStrategy(FacesContext context)Constructor. -
Method Summary
Modifier and Type Method Description UIViewRootrestoreView(FacesContext context, String viewId, String renderKitId)Restore the view.ObjectsaveView(FacesContext context)Save the view.
-
Constructor Details
-
JspStateManagementStrategy
public JspStateManagementStrategy()Constructor. -
JspStateManagementStrategy
Constructor.- Parameters:
context- the Faces context.
-
-
Method Details
-
restoreView
Restore the view.- Specified by:
restoreViewin classStateManagementStrategy- Parameters:
context- the Faces context.viewId- the view id.renderKitId- the render kit id.- Returns:
- the view root.
-
saveView
Save the view.- Specified by:
saveViewin classStateManagementStrategy- Parameters:
context- the Faces context.- Returns:
- the saved view.
-