|
Copyright © 2000, 2009, Oracle and/or its affiliates. All rights reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object UIComponentBase com.bea.portlet.adapter.faces.component.naming.NamingContainerComponent
public final class NamingContainerComponent
Custom JSF component to introduce a NamingContainer
in the component tree that is responsible for ensuring that component
identifiers in the component tree are unique within a portal page.
Constructor Summary | |
---|---|
NamingContainerComponent()
Constructor. |
Method Summary | |
---|---|
String |
getClientId(FacesContext context)
Get the client ID. |
String |
getDefaultScopeKey()
Get the default value for the scope key if the request is not being processed within a facesContent control in a portal. |
String |
getFamily()
Get the component family (com.bea.portlet.faces.naming.NamingContainer). |
String |
getId()
Get the ID of this component. |
void |
setDefaultScopeKey(String defaultScopeKey)
Change the default value for the scope key if the request is not being processed within a facesContent control in a portal. |
void |
setId(String id)
Change the ID of this component. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NamingContainerComponent()
Method Detail |
---|
public String getDefaultScopeKey()
public void setDefaultScopeKey(String defaultScopeKey)
defaultScopeKey
- the default value for the scope key
if the request is not being processed
within a facesContent control in a portalpublic String getFamily()
public String getClientId(FacesContext context)
The client ID is constructed from the scope key.
ScopedIdSupport.getScopeKey(FacesContext, String)
public String getId()
The ID is the scope key.
ScopedIdSupport.getScopeKey(FacesContext, String)
public void setId(String id)
This method forces the ID of this component to be the scope key. It is not possible to override the ID of this component.
id
- (ignored) the ID of this componentScopedIdSupport.getScopeKey(FacesContext, String)
|
Copyright © 2000, 2009, Oracle and/or its affiliates. All rights reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |