|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.webmethods.caf.faces.bean.BaseFacesBean
com.webmethods.caf.faces.bean.BaseFacesSessionBean
com.webmethods.caf.faces.bean.BaseViewBean
com.webmethods.caf.faces.bean.BaseCompositeViewControlPageBean
public class BaseCompositeViewControlPageBean
Base class for a page bean that is to be used for a composite view control
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.webmethods.caf.faces.bean.BaseViewBean |
---|
BaseViewBean.ClientIdsContentProvider |
Field Summary | |
---|---|
protected UIComponent |
fCompositeNamingContainer
Reference to the container UIComponent of the composite view control. |
Fields inherited from class com.webmethods.caf.faces.bean.BaseViewBean |
---|
clientIds, initialized |
Fields inherited from class com.webmethods.caf.faces.bean.BaseFacesSessionBean |
---|
fExpireWithPageFlow |
Fields inherited from class com.webmethods.caf.faces.bean.BaseFacesBean |
---|
DATA_BINDING_CLIENTS, OUTCOME_ERROR, OUTCOME_OK, resourcesProviders |
Constructor Summary | |
---|---|
BaseCompositeViewControlPageBean()
|
Method Summary | |
---|---|
UIComponent |
findComponentInRoot(String id)
Overriding to treat the composite view naming container as the root control instead of the view root. |
IContentProvider |
getClientIds()
Maps raw control ids to client-side element ids. |
String |
getCompositeViewAbsoluteControlId()
Return the Absolute Control id of the composite view control. |
String |
getCompositeViewControlId()
Return the id of the composite view control. |
UIComponent |
getCompositeViewNamingContainer()
Get the container UIComponent of the composite view control. |
protected Object |
getPropertyOrBindingValue(String name,
Class expectedType,
Object specifiedValue,
Object defaultValue)
Gets property value using specified value, the ValueBinding for
the specified name, or the default value. |
void |
setCompositeViewNamingContainer(AbstractCompositeViewControl namingContainer)
Sets the container AbstractCompositeViewControl for this
composite view control. |
void |
setCompositeViewNamingContainer(UIComponent namingContainer)
Sets the container UIComponent for this composite view control. |
Methods inherited from class com.webmethods.caf.faces.bean.BaseFacesSessionBean |
---|
getExpireWithPageFlow, setExpireWithPageFlow, valueBound, valueUnbound |
Methods inherited from class com.webmethods.caf.faces.bean.BaseFacesBean |
---|
createMethodBinding, createValueBinding, error, error, error, error, error, getBean, getFacesContext, getLocale, getResourceInputStream, getResources, getResourcesProvider, getRootCause, getStackTrace, getTreeAttribute, isUserInRole, log, log, log, putTreeAttribute, resetDataBindingClients, resolveDataBinding, resolveDataBinding, resolveExpression, setValue |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected transient UIComponent fCompositeNamingContainer
UIComponent
of the composite view control.
Constructor Detail |
---|
public BaseCompositeViewControlPageBean()
Method Detail |
---|
protected Object getPropertyOrBindingValue(String name, Class expectedType, Object specifiedValue, Object defaultValue)
ValueBinding
for
the specified name, or the default value.
This method will return null only if the defaultValue is null.
name
- Property name.expectedType
- The Class
for type-converting the return valuespecifiedValue
- User-specified value.defaultValue
- Default value.
Object
of type defined by expectedType
public void setCompositeViewNamingContainer(AbstractCompositeViewControl namingContainer)
AbstractCompositeViewControl
for this
composite view control.
com.webmethods.caf.faces.component.ICompositeViewControlPageBean#setCompositeViewNamingContainer(com.webmethods.caf.faces.component.AbstractCompositeViewControl)
public void setCompositeViewNamingContainer(UIComponent namingContainer)
UIComponent
for this composite view control.
com.webmethods.caf.faces.component.ICompositeViewControlPageBean#setCompositeViewNamingContainer(AbstractCompositeViewControl)
public UIComponent getCompositeViewNamingContainer()
UIComponent
of the composite view control.
UIComponent
of the composite view control, or null if not foundpublic String getCompositeViewControlId()
public String getCompositeViewAbsoluteControlId()
public IContentProvider getClientIds()
Maps raw control ids to client-side element ids.
For example, #{myPageBean.clientIds.myControlId} returns the client-side id (ie "wmp1234:zID3:myControlId") for the control with an id of 'myControlId'.
getClientIds
in class BaseViewBean
public UIComponent findComponentInRoot(String id)
findComponentInRoot
in class BaseViewBean
id
- the component id
UIComponent
or null if not foundBaseViewBean.findComponentInRoot(java.lang.String)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |