|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.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 String |
COMPONENT_FAMILY
|
static String |
COMPONENT_TYPE
|
static String |
SEPARATOR_CHAR_PARAM_NAME
|
Fields inherited from class javax.faces.component.UIComponent |
---|
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 |
Fields inherited from interface javax.faces.component.NamingContainer |
---|
SEPARATOR_CHAR |
Constructor Summary | |
---|---|
UINamingContainer()
Construct an instance of the UINamingContainer. |
Method Summary | |
---|---|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String COMPONENT_TYPE
public static final String COMPONENT_FAMILY
public static final String SEPARATOR_CHAR_PARAM_NAME
Constructor Detail |
---|
public UINamingContainer()
Method Detail |
---|
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 performed
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |