Return the tree structure and component state information for the view contained in the specified {@link FacesContext} instance as anobject of type StateManager.SerializedView
. If there is no state information to be saved, return null
instead.
Components may opt out of being included in the serialized view by setting their transient
property to true
. This must cause the component itself, as well as all of that component's children and facets, to be omitted from the saved tree structure and component state information.
This method must also enforce the rule that, for components with non-null id
s, all components that are descendants of the same nearest {@link NamingContainer} must have unique identifiers.
null
component id
@deprecated this has been replaced by {@link #saveView}. The default implementation returns null
.
|
|