@JSFComponent(name="f:subview",
bodyContent="JSP",
tagClass="org.apache.myfaces.taglib.core.SubviewTag")
@JSFJspProperty(name="id",
required=true)
public class UINamingContainer
extends UIComponentBase
implements NamingContainer, UniqueIdVendor
See the javadocs for interface NamingContainer for further details.
| Modifier and Type | Field and Description |
|---|---|
static String |
COMPONENT_FAMILY |
static String |
COMPONENT_TYPE |
static String |
SEPARATOR_CHAR_PARAM_NAME |
ATTRS_WITH_DECLARED_DEFAULT_VALUES, BEANINFO_KEY, COMPOSITE_COMPONENT_TYPE_KEY, COMPOSITE_FACET_NAME, CURRENT_COMPONENT, CURRENT_COMPOSITE_COMPONENT, FACETS_KEY, HONOR_CURRENT_COMPONENT_ATTRIBUTES_PARAM_NAME, VIEW_LOCATION_KEYSEPARATOR_CHAR| Constructor and Description |
|---|
UINamingContainer()
Construct an instance of the UINamingContainer.
|
| Modifier and Type | Method and Description |
|---|---|
String |
createUniqueId(FacesContext context,
String seed) |
String |
getFamily() |
static char |
getSeparatorChar(FacesContext context) |
boolean |
isRendered()
A boolean value that indicates whether this component should be rendered.
|
boolean |
visitTree(VisitContext context,
VisitCallback callback)
The visit tree method, visit tree walks over a subtree and processes
the callback object to perform some operation on the subtree
|
addClientBehavior, addFacesListener, broadcast, clearInitialState, decode, encodeAll, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getDefaultEventName, getEventNames, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getPassThroughAttributes, getRenderer, getRendererType, getRendersChildren, invokeOnComponent, isTransient, markInitialState, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, restoreState, saveAttachedState, saveState, setId, setParent, setRendered, setRendererType, setTransientgetClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getListenersForEventClass, getNamingContainer, getPassThroughAttributes, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView, setValueExpression, subscribeToEvent, unsubscribeFromEventpublic static final String COMPONENT_TYPE
public static final String COMPONENT_FAMILY
public static final String SEPARATOR_CHAR_PARAM_NAME
public UINamingContainer()
public String getFamily()
getFamily in class UIComponentpublic String createUniqueId(FacesContext context, String seed)
createUniqueId in interface UniqueIdVendorpublic static char getSeparatorChar(FacesContext context)
context - @JSFProperty(deferredValueType="java.lang.Boolean") public boolean isRendered()
UIComponentBaseisRendered in class UIComponentBasepublic boolean visitTree(VisitContext context, VisitCallback callback)
UIComponentthere are some details in the implementation which according to the spec have to be in place: a) before calling the callback and traversing into the subtree pushComponentToEL has to be called b) after the processing popComponentFromEL has to be performed to remove the component from the el
The tree traversal optimizations are located in the visit context and can be replaced via the VisitContextFactory in the faces-config factory section
visitTree in class UIComponentBasecontext - the visit context which handles the processing detailscallback - the callback to be performedCopyright © 2022 The Apache Software Foundation. All rights reserved.