public class BaseCompositeViewControlPageBean extends BaseViewBean implements ICompositeViewControlPageBean
BaseViewBean.ClientIdsContentProvider
Modifier and Type | Field and Description |
---|---|
protected UIComponent |
fCompositeNamingContainer
Reference to the container
UIComponent of the composite view control. |
clientIds, initialized
fExpireWithPageFlow
DATA_BINDING_CLIENTS, EMPTY_RESOURCES, OUTCOME_ERROR, OUTCOME_OK, resourcesProviders
Constructor and Description |
---|
BaseCompositeViewControlPageBean() |
Modifier and Type | Method and Description |
---|---|
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(UIComponent namingContainer)
Sets the container
UIComponent for this composite view control. |
afterApplyRequestValues, afterInvokeApplication, afterPhase, afterProcessValidations, afterRenderResponse, afterRestoreView, afterUpdateModelValues, beforeApplyRequestValues, beforeInvokeApplication, beforePhase, beforeProcessValidations, beforeRenderResponse, beforeRestoreView, beforeUpdateModelValues, callInitialize, findComponent, getApplicationScope, getPhaseId, getRealPath, getRequestParam, getRequestScope, getSessionScope, gotoPage, gotoPage, initialize, isAsyncRequest, preRenderResponse, release, resetPageFlowStorage, streamFileDataToResponse
getExpireWithPageFlow, setExpireWithPageFlow, valueBound, valueUnbound
createMethodBinding, createMethodExpression, createValueBinding, createValueExpression, createValueExpression, error, error, error, error, error, getBean, getFacesContext, getLocale, getResourceInputStream, getResources, getResourcesProvider, getRootCause, getStackTrace, getTreeAttribute, isUserInRole, log, log, log, putTreeAttribute, resetDataBindingClients, resolveDataBinding, resolveDataBinding, resolveExpression, setValue
protected transient UIComponent fCompositeNamingContainer
UIComponent
of the composite view control.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(UIComponent namingContainer)
UIComponent
for this composite view control.setCompositeViewNamingContainer
in interface ICompositeViewControlPageBean
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 idUIComponent
or null if not foundBaseViewBean.findComponentInRoot(java.lang.String)