|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.faces.component.UIComponent
javax.faces.component.UIComponentBase
javax.faces.component.UINamingContainer
@JSFComponent(name="f:subview", bodyContent="JSP", tagClass="org.apache.myfaces.taglib.core.SubviewTag") @JSFJspProperty(name="id", required=true) public class UINamingContainer
Base class for components that provide a new "namespace" for the ids of their child components.
See the javadocs for interface NamingContainer for further details.
Field Summary | |
---|---|
static java.lang.String |
COMPONENT_FAMILY
|
static java.lang.String |
COMPONENT_TYPE
|
static java.lang.String |
SEPARATOR_CHAR_PARAM_NAME
|
Fields inherited from class javax.faces.component.UIComponent |
---|
BEANINFO_KEY, bindings, COMPOSITE_COMPONENT_TYPE_KEY, COMPOSITE_FACET_NAME, CURRENT_COMPONENT, CURRENT_COMPOSITE_COMPONENT, FACETS_KEY, VIEW_LOCATION_KEY |
Fields inherited from interface javax.faces.component.NamingContainer |
---|
SEPARATOR_CHAR |
Constructor Summary | |
---|---|
UINamingContainer()
Construct an instance of the UINamingContainer. |
Method Summary | |
---|---|
java.lang.String |
createUniqueId(FacesContext context,
java.lang.String seed)
|
java.lang.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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String COMPONENT_TYPE
public static final java.lang.String COMPONENT_FAMILY
public static final java.lang.String SEPARATOR_CHAR_PARAM_NAME
Constructor Detail |
---|
public UINamingContainer()
Method Detail |
---|
public java.lang.String getFamily()
getFamily
in class UIComponent
public java.lang.String createUniqueId(FacesContext context, java.lang.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 performed
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |