| Modifier and Type | Field and Description |
|---|---|
| public static final String | COMPONENT_TO_TAG_MAP_NAME
Key to a FacesContext scoped Map where the keys are UIComponent instances and the values are Tag instances. |
| private static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| private static final String | |
| private static final String | |
| public static final String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private static void | addAllDescendantMarkIds(UIComponent component, Map<String, UIComponent> otherMarkIds)
Adds all specified |
| public static void | addComponent(FaceletContext ctx, UIComponent parent, UIComponent child)
Add the child component to the parent. |
| private static void | addSingleDescendantMarkId(UIComponent component, String markId, UIComponent otherComponent)
Adds the specified |
| public static void | addToDescendantMarkIdCache(UIComponent component, UIComponent otherComponent)
Adds the mark id of the specified |
| public static void | |
| public static void | |
| public static void | finalizeForDeletion(UIComponent
UIComponent to finalize c)Used in conjunction with markForDeletion where any UIComponent marked will be removed. |
| public static UIComponent | Returns: UIComponent found or nullparent to start searching from parent, String to match to id)A lighter-weight version of UIComponent's findChild. |
| public static UIComponent | Returns: the UI componentthe parent UI component parent, String the id id)By TagId, find Child |
| private static UIComponent | |
| public static UIComponent | |
| private static Map | |
| public static String | |
| public static Locale | Returns: Locale foundFaceletContext to evaluate from ctx, TagAttribute TagAttribute representing a Locale attr)According to Faces 1.2 tag specs, this helper method will use the TagAttribute passed in determining the Locale intended. |
| public static Tag | |
| public static UIViewRoot | Returns: UIViewRoot instance for this evaluationFaceletContext ctx, UIComponent UIComponent to search from parent)Tries to walk up the parent to find the UIViewRoot, if not found, then go to FaceletContext's FacesContext for the view root. |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | isNotRenderingResponse(FacesContext context)
Returns |
| private static boolean | |
| public static void | markForDeletion(UIComponent
UIComponent to mark c)Marks all direct children and Facets with an attribute for deletion. |
| private static void | removeAllDescendantMarkIds(UIComponent component, Map<String, UIComponent> otherMarkIds)
Removes all specified |
| public static void | removeFromDescendantMarkIdCache(UIComponent component, UIComponent otherComponent)
Removes the mark id of the specified |
| private static void | removeSingleDescendantMarkId(UIComponent component, String markId)
Removes the specified |
| public static void | |
| public static void | restoreFullDescendantComponentDeltaStates(FacesContext facesContext, Iterator<UIComponent> childIterator, Object state, Object initialState, boolean restoreChildFacets)
|
| public static void | restoreFullDescendantComponentStates(FacesContext facesContext, Iterator<UIComponent> childIterator, Object state, boolean restoreChildFacets)
|
| public static void | restoreTransientDescendantComponentStates(FacesContext facesContext, Iterator<UIComponent> childIterator, Map<String, Object> state, boolean restoreChildFacets)
|
| public static Map | saveDescendantComponentStates(FacesContext facesContext, Map<String, Object> stateMap, Iterator<UIComponent> childIterator, BiFunction<UIComponent, FacesContext, Object> stateSaver, boolean saveChildFacets)
|
| public static Collection | saveDescendantInitialComponentStates(FacesContext facesContext, Iterator<UIComponent> childIterator, boolean saveChildFacets)
|
| public static Tag | |
| public static boolean |
| COMPONENT_TO_TAG_MAP_NAME | back to summary |
|---|---|
| public static final String COMPONENT_TO_TAG_MAP_NAME Key to a FacesContext scoped Map where the keys are UIComponent instances and the values are Tag instances. | |
| IMPLICIT_PANEL | back to summary |
|---|---|
| private static final String IMPLICIT_PANEL | |
| MARK_CHILDREN_MODIFIED | back to summary |
|---|---|
| public static final String MARK_CHILDREN_MODIFIED | |
| MARK_CREATED | back to summary |
|---|---|
| public static final String MARK_CREATED | |
| MARK_CREATED_REMOVED | back to summary |
|---|---|
| public static final String MARK_CREATED_REMOVED | |
| MARK_DELETED | back to summary |
|---|---|
| private static final String MARK_DELETED | |
| MARK_ID_CACHE | back to summary |
|---|---|
| private static final String MARK_ID_CACHE | |
| REMOVED_CHILDREN | back to summary |
|---|---|
| public static final String REMOVED_CHILDREN | |
| ComponentSupport | back to summary |
|---|---|
| public ComponentSupport() | |
| addAllDescendantMarkIds | back to summary |
|---|---|
| private static void addAllDescendantMarkIds(UIComponent component, Map<String, UIComponent> otherMarkIds) Adds all specified | |
| addComponent | back to summary |
|---|---|
| public static void addComponent(FaceletContext ctx, UIComponent parent, UIComponent child) Add the child component to the parent. If the parent is a facet, check to see whether the facet is already defined. If it is, wrap the existing component in a panel group, if it's not already, then add the child to the panel group. If the facet does not yet exist, make the child the facet. | |
| addSingleDescendantMarkId | back to summary |
|---|---|
| private static void addSingleDescendantMarkId(UIComponent component, String markId, UIComponent otherComponent) Adds the specified | |
| addToDescendantMarkIdCache | back to summary |
|---|---|
| public static void addToDescendantMarkIdCache(UIComponent component, UIComponent otherComponent) Adds the mark id of the specified | |
| copyPassthroughAttributes | back to summary |
|---|---|
| public static void copyPassthroughAttributes(FaceletContext ctx, UIComponent c, Tag t) | |
| encodeRecursive | back to summary |
|---|---|
| public static void encodeRecursive(FacesContext context, UIComponent viewToRender) throws IOException, FacesException | |
| finalizeForDeletion | back to summary |
|---|---|
| public static void finalizeForDeletion(UIComponent c) Used in conjunction with markForDeletion where any UIComponent marked will be removed.
| |
| findChild | back to summary |
|---|---|
| public static UIComponent findChild(UIComponent parent, String id) A lighter-weight version of UIComponent's findChild.
| |
| findChildByTagId | back to summary |
|---|---|
| public static UIComponent findChildByTagId(FacesContext context, UIComponent parent, String id) By TagId, find Child
| |
| findChildByTagIdFullStateSaving | back to summary |
|---|---|
| private static UIComponent findChildByTagIdFullStateSaving(FacesContext context, UIComponent parent, String id) | |
| findUIInstructionChildByTagId | back to summary |
|---|---|
| public static UIComponent findUIInstructionChildByTagId(FacesContext context, UIComponent parent, String id) | |
| getDescendantMarkIdCache | back to summary |
|---|---|
private static Map
| |
| getFacetName | back to summary |
|---|---|
| public static String getFacetName(UIComponent parent) | |
| getLocale | back to summary |
|---|---|
| public static Locale getLocale(FaceletContext ctx, TagAttribute attr) throws TagAttributeException According to Faces 1.2 tag specs, this helper method will use the TagAttribute passed in determining the Locale intended.
| |
| getTagForComponent | back to summary |
|---|---|
| public static Tag getTagForComponent(FacesContext context, UIComponent c) | |
| getViewRoot | back to summary |
|---|---|
| public static UIViewRoot getViewRoot(FaceletContext ctx, UIComponent parent) Tries to walk up the parent to find the UIViewRoot, if not found, then go to FaceletContext's FacesContext for the view root.
| |
| handlerIsResourceRelated | back to summary |
|---|---|
| public static boolean handlerIsResourceRelated(ComponentHandler handler) | |
| isBuildingNewComponentTree | back to summary |
|---|---|
| public static boolean isBuildingNewComponentTree(FacesContext context) | |
| isImplicitPanel | back to summary |
|---|---|
| public static boolean isImplicitPanel(UIComponent component) | |
| isNotRenderingResponse | back to summary |
|---|---|
| public static boolean isNotRenderingResponse(FacesContext context) Returns | |
| isPartialStateSaving | back to summary |
|---|---|
| private static boolean isPartialStateSaving(FacesContext context) | |
| markForDeletion | back to summary |
|---|---|
| public static void markForDeletion(UIComponent c) Marks all direct children and Facets with an attribute for deletion.
| |
| removeAllDescendantMarkIds | back to summary |
|---|---|
| private static void removeAllDescendantMarkIds(UIComponent component, Map<String, UIComponent> otherMarkIds) Removes all specified | |
| removeFromDescendantMarkIdCache | back to summary |
|---|---|
| public static void removeFromDescendantMarkIdCache(UIComponent component, UIComponent otherComponent) Removes the mark id of the specified | |
| removeSingleDescendantMarkId | back to summary |
|---|---|
| private static void removeSingleDescendantMarkId(UIComponent component, String markId) Removes the specified | |
| removeTransient | back to summary |
|---|---|
| public static void removeTransient(UIComponent c) | |
| restoreFullDescendantComponentDeltaStates | back to summary |
|---|---|
| public static void restoreFullDescendantComponentDeltaStates(FacesContext facesContext, Iterator<UIComponent> childIterator, Object state, Object initialState, boolean restoreChildFacets) | |
| restoreFullDescendantComponentStates | back to summary |
|---|---|
| public static void restoreFullDescendantComponentStates(FacesContext facesContext, Iterator<UIComponent> childIterator, Object state, boolean restoreChildFacets) | |
| restoreTransientDescendantComponentStates | back to summary |
|---|---|
| public static void restoreTransientDescendantComponentStates(FacesContext facesContext, Iterator<UIComponent> childIterator, Map<String, Object> state, boolean restoreChildFacets) | |
| saveDescendantComponentStates | back to summary |
|---|---|
| public static Map | |
| saveDescendantInitialComponentStates | back to summary |
|---|---|
| public static Collection | |
| setTagForComponent | back to summary |
|---|---|
| public static Tag setTagForComponent(FacesContext context, UIComponent c, Tag t) | |
| suppressViewModificationEvents | back to summary |
|---|---|
| public static boolean suppressViewModificationEvents(FacesContext ctx) | |