@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, bindings, COMPOSITE_COMPONENT_TYPE_KEY, COMPOSITE_FACET_NAME, CURRENT_COMPONENT, CURRENT_COMPOSITE_COMPONENT, FACETS_KEY, HONOR_CURRENT_COMPONENT_ATTRIBUTES_PARAM_NAME, VIEW_LOCATION_KEY
SEPARATOR_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, getRenderer, getRendererType, getRendersChildren, getValueBinding, initialStateMarked, invokeOnComponent, isTransient, markInitialState, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, restoreState, saveAttachedState, saveState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding
getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getListenersForEventClass, getNamingContainer, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView, setValueExpression, subscribeToEvent, unsubscribeFromEvent
public 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 UIComponent
public String createUniqueId(FacesContext context, String seed)
createUniqueId
in interface UniqueIdVendor
public static char getSeparatorChar(FacesContext context)
context
- @JSFProperty(deferredValueType="java.lang.Boolean") public boolean isRendered()
UIComponentBase
isRendered
in class UIComponentBase
public boolean visitTree(VisitContext context, VisitCallback callback)
UIComponent
there 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 UIComponentBase
context
- the visit context which handles the processing detailscallback
- the callback to be performedCopyright © 2016 The Apache Software Foundation. All Rights Reserved.