/** * Walk the component tree, executing any component-bindings to reattach * components to their backing beans. * <p> * 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. * <p> * 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) { recursivelyHandleComponentReferencesAndSetValid(facesContext, parent, false); }
public static void recursivelyHandleComponentReferencesAndSetValid(FacesContext facesContext, UIComponent parent, boolean forceHandle) Method handleBindingsMethod = getBindingMethod(parent); recursivelyHandleComponentReferencesAndSetValid(facesContext, component);
public static void recursivelyHandleComponentReferencesAndSetValid(FacesContext facesContext, UIComponent parent, boolean forceHandle) Method handleBindingsMethod = getBindingMethod(parent); recursivelyHandleComponentReferencesAndSetValid(facesContext, component);
public static void recursivelyHandleComponentReferencesAndSetValid(FacesContext facesContext, UIComponent parent, boolean forceHandle) Method handleBindingsMethod = getBindingMethod(parent); recursivelyHandleComponentReferencesAndSetValid(facesContext, component);
/** * Walk the component tree, executing any component-bindings to reattach * components to their backing beans. Also, any UIInput component is * marked as Valid. * <p> * 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. * <p> * 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) { recursivelyHandleComponentReferencesAndSetValid(facesContext, parent, false); }
/** * Walk the component tree, executing any component-bindings to reattach * components to their backing beans. * <p> * 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. * <p> * 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) { recursivelyHandleComponentReferencesAndSetValid(facesContext, parent, false); }