|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.myfaces.shared_orchestra.util.RestoreStateUtils
public class RestoreStateUtils
Constructor Summary | |
---|---|
RestoreStateUtils()
|
Method Summary | |
---|---|
static void |
recursivelyHandleComponentReferencesAndSetValid(FacesContext facesContext,
UIComponent parent)
Walk the component tree, executing any component-bindings to reattach components to their backing beans. |
static void |
recursivelyHandleComponentReferencesAndSetValid(FacesContext facesContext,
UIComponent parent,
boolean forceHandle)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RestoreStateUtils()
Method Detail |
---|
public static void recursivelyHandleComponentReferencesAndSetValid(FacesContext facesContext, UIComponent parent)
Note that this method effectively breaks encapsulation; instead of asking each component to update itself and its children, this method just reaches into each component. That makes it impossible for any component to customise its behaviour at this point.
This has been filed as an issue against the spec. Until this issue is resolved, we'll add a new marker-interface for components to allow them to define their interest in handling children bindings themselves.
public static void recursivelyHandleComponentReferencesAndSetValid(FacesContext facesContext, UIComponent parent, boolean forceHandle)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |