Class ComponentUtils
- java.lang.Object
- 
- org.apache.myfaces.core.api.shared.ComponentUtils
 
- 
 public class ComponentUtils extends Object 
- 
- 
Field SummaryFields Modifier and Type Field Description static StringRD_ID_PREFIXstatic String[]UNIQUE_COMPONENT_RD_IDSstatic intUNIQUE_COMPONENT_RD_IDS_SIZEstatic String[]UNIQUE_COMPONENT_V_IDSstatic intUNIQUE_COMPONENT_V_IDS_SIZEstatic StringV_ID_PREFIX
 - 
Method Summary
 
- 
- 
- 
Field Detail- 
V_ID_PREFIXpublic static final String V_ID_PREFIX - See Also:
- Constant Field Values
 
 - 
RD_ID_PREFIXpublic static final String RD_ID_PREFIX - See Also:
- Constant Field Values
 
 - 
UNIQUE_COMPONENT_V_IDS_SIZEpublic static final int UNIQUE_COMPONENT_V_IDS_SIZE - See Also:
- Constant Field Values
 
 - 
UNIQUE_COMPONENT_RD_IDS_SIZEpublic static final int UNIQUE_COMPONENT_RD_IDS_SIZE - See Also:
- Constant Field Values
 
 - 
UNIQUE_COMPONENT_V_IDSpublic static final String[] UNIQUE_COMPONENT_V_IDS 
 - 
UNIQUE_COMPONENT_RD_IDSpublic static final String[] UNIQUE_COMPONENT_RD_IDS 
 
- 
 - 
Method Detail- 
findClosestNamingContainerpublic static UIComponent findClosestNamingContainer(UIComponent component, boolean returnRootIfNotFound) 
 - 
findClosestpublic static <T> T findClosest(Class<T> type, UIComponent base) 
 - 
findRootComponentpublic static UIComponent findRootComponent(UIComponent component) 
 - 
findComponentpublic static UIComponent findComponent(UIComponent findBase, String id, char separatorChar) Find the component with the specified id starting from the specified component.Param id must not contain any NamingContainer.SEPARATOR_CHAR characters (ie ":"). This method explicitly does not search into any child naming container components; this is expected to be handled by the caller of this method. - Returns:
- findBase, a descendant of findBase, or null.
 
 - 
findComponentChildOrFacetFrompublic static UIComponent findComponentChildOrFacetFrom(UIComponent parent, String id, String innerExpr) 
 - 
callValidatorspublic static void callValidators(FacesContext context, UIInput input, Object convertedValue) 
 - 
getPathToComponentpublic static String getPathToComponent(UIComponent component) 
 - 
isRenderedpublic static boolean isRendered(FacesContext facesContext, UIComponent uiComponent) CallUIComponent.pushComponentToEL(jakarta.faces.context.FacesContext, jakarta.faces.component.UIComponent), reads the isRendered property, callUIComponent.popComponentFromEL(jakarta.faces.context.FacesContext)and returns the value of isRendered.
 - 
getPathToComponentpublic static void getPathToComponent(UIComponent component, StringBuilder buf) 
 
- 
 
-