|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.2) E14255-01 |
||||||||
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
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.
Refer to Usage for usage information.
Field Summary |
---|
Fields inherited from class javax.faces.component.UIComponent |
---|
bindings |
Fields inherited from interface javax.faces.component.NamingContainer |
---|
SEPARATOR_CHAR |
Constructor Summary | |
---|---|
NamingContainerComponent() Constructor. |
Method Summary | |
---|---|
String |
getClientId(javax.faces.context.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 javax.faces.component.UIComponent |
---|
encodeAll, getContainerClientId, getValueExpression, setValueExpression |
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()
getFamily
in class UIComponent
public String getClientId(javax.faces.context.FacesContext context)
The client ID is constructed from the scope key.
getClientId
in class UIComponentBase
ScopedIdSupport.getScopeKey(FacesContext, String)
public String getId()
The ID is the scope key.
getId
in class UIComponentBase
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.
setId
in class UIComponentBase
id
- (ignored) the ID of this componentScopedIdSupport.getScopeKey(FacesContext, String)
|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.2) E14255-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2010, Oracle. All rights reserved.