javax.portlet.faces.component
Class PortletNamingContainerUIViewRoot
java.lang.Object
javax.faces.component.UIComponent
javax.faces.component.UIComponentBase
javax.faces.component.UIViewRoot
javax.portlet.faces.component.PortletNamingContainerUIViewRoot
- All Implemented Interfaces:
- Serializable, NamingContainer, StateHolder
@PortletNamingContainer
public class PortletNamingContainerUIViewRoot
- extends UIViewRoot
- implements Serializable, NamingContainer
UIViewRoot
that implements portlet specific NamingContainer
that ensures the consumer's unique portlet Id is encoded in all tree components.
The class is annotated by javax.portlet.faces.annotation.PortletNamingContainer
allowing the bridge to recognize that this specific UIViewRoot
implements the behavior.
- See Also:
- Serialized Form
Method Summary |
String |
getContainerClientId(FacesContext context)
NamingContainer semantics worked generically (serviced by subclasses) as long as the class
is marked as implementing NamingContainer and we use the portletNamespace Id as
(part of) the component's id. |
void |
setId(String id)
|
Methods inherited from class javax.faces.component.UIViewRoot |
addPhaseListener, createUniqueId, encodeBegin, encodeEnd, getAfterPhaseListener, getBeforePhaseListener, getFamily, getLocale, getRenderKitId, getViewId, processApplication, processDecodes, processUpdates, processValidators, queueEvent, removePhaseListener, restoreState, saveState, setAfterPhaseListener, setBeforePhaseListener, setLocale, setRenderKitId, setViewId |
Methods inherited from class javax.faces.component.UIComponentBase |
addFacesListener, broadcast, decode, encodeChildren, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, processRestoreState, processSaveState, removeFacesListener, restoreAttachedState, saveAttachedState, setParent, setRendered, setRendererType, setTransient, setValueBinding |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PortletNamingContainerUIViewRoot
public PortletNamingContainerUIViewRoot()
getContainerClientId
public String getContainerClientId(FacesContext context)
- NamingContainer semantics worked generically (serviced by subclasses) as long as the class
is marked as implementing NamingContainer and we use the portletNamespace Id as
(part of) the component's id.
- Overrides:
getContainerClientId
in class UIComponent
setId
public void setId(String id)
- Overrides:
setId
in class UIComponentBase
Copyright © 2007-2010 The Apache Software Foundation. All Rights Reserved.