Restore the tree structure and the component state of the view for the specified viewId
, in an implementation dependent manner, and return the restored {@link UIViewRoot}. If there is no saved state information available for this viewId
, return null
instead.
This method must consult the context initialization parameter named by the symbolic constant StateManager.STATE_SAVING_METHOD_PARAMETER_NAME
to determine whether state should be saved on the client or the server. If not present, client side state saving is assumed.
If the init parameter indicates that client side state saving should be used, this method must call the getTreeStructureToRestore()
and (if the previous method call returned a non-null value) getComponentStateToRestore()
methods of the {@link ResponseStateManager} instance provided by the{@link RenderKit} responsible for this view.
null
.
@throws IllegalArgumentException if renderKitId
is null
.
Perform whatever actions are required to restore the view associated with the specified {@link FacesContext} andviewId
. It may delegate to the restoreView
of the associated {@link StateManager} to do the actual work ofrestoring the view. If there is no available state for the specified viewId
, return null
.
context
is null
@throws FacesException if a servlet error occurs
|
|