| Modifier and Type | Field and Description |
|---|---|
| private static final Logger | LOGGER
Stores the logger. |
| private static final String | SKIP_ITERATION_HINT
Stores the skip hint. |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| private UIComponent | locateComponentByClientId(final FacesContext
the Faces context. context, final UIComponent subTree, final String the client id of the component to find. clientId)Find the given component in the component tree. |
| private void | pruneAndReAddToDynamicActions(List<ComponentStruct>
the dynamic action list. dynamicActionList, ComponentStruct the component struct to add. struct)Methods that takes care of pruning and re-adding an action to the dynamic action list. |
| private void | restoreDynamicActions(FacesContext
the Faces context. context, StateContext the state context. stateContext, Map<String, Object> the state. stateMap)Restore the list of dynamic actions and replay them. |
| private void | restoreDynamicAdd(FacesContext
the Faces context. context, Map<String, Object> the state. state, ComponentStruct the component struct. struct)Method that takes care of restoring a dynamic add. |
| private void | restoreDynamicRemove(FacesContext
the Faces context. context, ComponentStruct the component struct. struct)Method that takes care of restoring a dynamic remove. |
| public UIViewRoot | Returns: the view root.the Faces context. context, String the view id. viewId, String the render kit id. renderKitId)Implements abstract javax. |
| private void | saveDynamicActions(FacesContext
the Faces context. context, StateContext the state context. stateContext, Map<String, Object> the state. stateMap)Save the dynamic actions. |
| public Object | Returns: the saved view.the Faces context. context)Implements abstract javax. |
| LOGGER | back to summary |
|---|---|
| private static final Logger LOGGER Stores the logger. | |
| SKIP_ITERATION_HINT | back to summary |
|---|---|
| private static final String SKIP_ITERATION_HINT Stores the skip hint. | |
| FaceletPartialStateManagementStrategy | back to summary |
|---|---|
| public FaceletPartialStateManagementStrategy() Constructor. | |
| FaceletPartialStateManagementStrategy | back to summary |
|---|---|
| public FaceletPartialStateManagementStrategy(FacesContext context) Constructor.
| |
| locateComponentByClientId | back to summary |
|---|---|
| private UIComponent locateComponentByClientId(final FacesContext context, final UIComponent subTree, final String clientId) Find the given component in the component tree.
| |
| pruneAndReAddToDynamicActions | back to summary |
|---|---|
| private void pruneAndReAddToDynamicActions(List<ComponentStruct> dynamicActionList, ComponentStruct struct) Methods that takes care of pruning and re-adding an action to the dynamic action list. If you remove a component, re-add it to the same parent and then remove it again, you only have to capture the FIRST remove. Similarly if you add a component, remove it, and then re-add it to the same parent you only need to capture the LAST add.
| |
| restoreDynamicActions | back to summary |
|---|---|
| private void restoreDynamicActions(FacesContext context, StateContext stateContext, Map<String, Object> stateMap) Restore the list of dynamic actions and replay them.
| |
| restoreDynamicAdd | back to summary |
|---|---|
| private void restoreDynamicAdd(FacesContext context, Map<String, Object> state, ComponentStruct struct) Method that takes care of restoring a dynamic add.
| |
| restoreDynamicRemove | back to summary |
|---|---|
| private void restoreDynamicRemove(FacesContext context, ComponentStruct struct) Method that takes care of restoring a dynamic remove.
| |
| restoreView | back to summary |
|---|---|
| public UIViewRoot restoreView(FacesContext context, String viewId, String renderKitId) Implements abstract javax. Restore the view.
| |
| saveDynamicActions | back to summary |
|---|---|
| private void saveDynamicActions(FacesContext context, StateContext stateContext, Map<String, Object> stateMap) Save the dynamic actions.
| |
| saveView | back to summary |
|---|---|
| public Object saveView(FacesContext context) Implements abstract javax. Save the view.
| |