|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.faces.component.UIComponent
javax.faces.component.UIComponentBase
javax.faces.component.UIPanel
com.ibm.xsp.component.UIDataPanelBase
com.ibm.xsp.component.UIPanelEx
com.ibm.xsp.component.UIIncludeComposite
public class UIIncludeComposite
The panel-like control used to include a custom control page. Sometimes the
UIIncludeComposite will remove itself from the UIComponent tree. That will
occur if isAutoRemove() is true (true by default), if
the included file has only one component as a child of the view, and if the
child component is a
FacesParentReliantComponent.
the Editable Area control, used in the included custom
control page.| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class javax.faces.component.UIComponentBase |
|---|
javax.faces.component.UIComponentBase.AggregatedIterator, javax.faces.component.UIComponentBase.UnmodifiableIterator |
| Nested classes/interfaces inherited from class javax.faces.component.UIComponent |
|---|
javax.faces.component.UIComponent.StateMap, javax.faces.component.UIComponent.StateMapEntry |
| Field Summary | |
|---|---|
static java.lang.String |
COMPONENT_FAMILY
|
static java.lang.String |
COMPONENT_TYPE
|
static java.lang.String |
RENDERER_TYPE
|
| Fields inherited from class javax.faces.component.UIComponentBase |
|---|
EMPTY_ITERATOR |
| Fields inherited from class javax.faces.component.UIComponent |
|---|
_xspStateId |
| Fields inherited from interface javax.faces.component.NamingContainer |
|---|
SEPARATOR_CHAR |
| Fields inherited from interface com.ibm.xsp.component.FacesDataProvider |
|---|
DATA, DATA_CONTEXTS |
| Constructor Summary | |
|---|---|
UIIncludeComposite()
Construct a UIIncludeComposite instance |
|
| Method Summary | |
|---|---|
void |
addNavigationRule(NavigationRule rule)
Add a NavigationRule instance to the set associated with the view. |
void |
addResource(Resource resource)
Add a Resource instance to the set associated with this component. |
void |
buildContents(javax.faces.context.FacesContext context,
FacesComponentBuilder builder)
Build the component children and facets, the default implementation is usually: builder.buildAll(context, this, true); // includeFacets=true |
void |
buildPageContents(javax.faces.context.FacesContext context,
FacesComponentBuilder builder)
|
javax.faces.el.MethodBinding |
getAfterPageLoad()
|
javax.faces.el.MethodBinding |
getBeforePageLoad()
|
java.lang.String |
getFamily()
|
java.lang.String |
getPageName()
Return the name of the page which defines this composite component. |
PropertyMap |
getPropertyMap()
Return the "compositeData" PropertyMap associated with this component. |
void |
initAfterContents(javax.faces.context.FacesContext context)
Perform component initialization after it's children and facets are added. |
void |
initAfterPageContents(javax.faces.context.FacesContext context)
|
void |
initBeforeContents(javax.faces.context.FacesContext context)
Perform component initialization before its children and facets are added. |
void |
initBeforePageContents(javax.faces.context.FacesContext context)
Invoked on the including control when it has been initialized with the page root contents (if importing the root control), but the contents (children & facets) from the page have not yet been built. |
boolean |
isAutoRemove()
Defaults to true, set on the custom control tag in the outer XPage. |
boolean |
isCreateForm()
Returns true if a form will be created if none already exists, defaults to false, a property set on the custom control tag in the outer page. |
void |
restoreState(javax.faces.context.FacesContext context,
java.lang.Object state)
|
java.lang.Object |
saveState(javax.faces.context.FacesContext context)
|
void |
setAcl(ACL acl)
This "acl" property, on the root of the included custom control page, behaves the same as the superclass Panel implementation. |
void |
setAfterPageLoad(javax.faces.el.MethodBinding afterPageLoad)
Triggered after a page is loaded, or where it is set on an included custom control, triggered after the custom control is included. |
void |
setAfterRenderResponse(javax.faces.el.MethodBinding afterRenderResponse)
A server-only event triggered after the render response phase of the JSF lifecycle. |
void |
setAfterRestoreView(javax.faces.el.MethodBinding afterRestoreView)
A server-only event triggered after the restore view phase of the JSF lifecycle. |
void |
setAutoRemove(boolean autoRemove)
Defaults to true, set on the custom control tag in the outer XPage. |
void |
setBeforePageLoad(javax.faces.el.MethodBinding beforePageLoad)
Triggered before a page is loaded, or where it is set on an included custom control, triggered before the custom control is included. |
void |
setBeforeRenderResponse(javax.faces.el.MethodBinding beforeRenderResponse)
A server-only event triggered before the render response phase of the JSF lifecycle. |
void |
setCreateForm(boolean createForm)
Flag to indicate whether or not a form will be created if none already exists, defaults to false, a property set on the custom control tag in the outer page.. |
void |
setDefaultLinkTarget(java.lang.String defaultLinkTarget)
Sets the link target for any contained link that does not specify its own target |
void |
setDir(java.lang.String dir)
This custom control "dir" property behaves the same as the superclass Panel implementation. |
void |
setDojoForm(boolean dojoForm)
|
void |
setDojoParseOnLoad(boolean dojoParseOnLoad)
Flag to indicate whether or not the Dojo parser should run when the page is loaded in the web browser or client, defaults to false,
will be set on the root of the control tree. |
void |
setDojoTheme(boolean dojoTheme)
Flag to indicate whether or not a dojo theme is being used. |
void |
setEnableModifiedFlag(boolean enableModifiedFlag)
Flag to indicate whether or not the modified flag is being used. |
void |
setModifiedControl(java.lang.String modifiedControl)
|
void |
setModifiedMessage(java.lang.String modifiedMessage)
|
void |
setOnClientLoad(java.lang.String onClientLoad)
This "onClientLoad" property, on the root of the included custom control page, behaves the same as the superclass Panel implementation. |
void |
setPageBaseUrl(ViewRootBaseUrl pageBaseUrl)
|
void |
setPageDriver(FacesPageDriver pageDriver)
Deprecated. On 8.5.0 servers, the compiled .java XPage must invoke this method with the current page driver. On 8.5.2 or later servers, it is not required, as the control looks to the current context for the pageDriver. However, the Designer 8.5.2 install still generates the call to this set method, so that include controls from an 8.5.2 Designer will run on an 8.5.0 server. |
void |
setPageManifest(java.lang.String pageManifest)
|
void |
setPageName(java.lang.String name)
Set the name of the page which defines this composite component, invoked by the outer page's generated .java file. |
| Methods inherited from class com.ibm.xsp.component.UIPanelEx |
|---|
_xspCleanTransientData, addAttr, addDojoAttribute, getAttrs, getDir, getDojoAttributes, getDojoType, getOnClientLoad, getOuterStyleClass, getRole, getStyle, getStyleClass, getStyleKitFamily, getTagName, getTitle, isDisableOutputTag, setAttrs, setDisableOutputTag, setDojoAttributes, setDojoType, setOuterStyleClass, setRole, setStyle, setStyleClass, setTagName, setTitle |
| Methods inherited from class com.ibm.xsp.component.UIDataPanelBase |
|---|
addData, addDataContext, afterEncoding, beforeEncoding, broadcast, encodeBegin, encodeEnd, getAcl, getData, getDataContexts, hasUserAccess, invokeOnComponent, isAllowCreateViewPublish, isReadonly, isRendered, processDecodes, processUpdates, processValidators, publishControlData, queueEvent, revokeControlData, setReadonly, visitTree |
| Methods inherited from class javax.faces.component.UIComponentBase |
|---|
_xspGetReadOnlyObj, _xspGetRendererData, _xspRemoveReadOnlyObj, _xspRemoveRendererData, _xspSetIdUnchecked, _xspSetReadOnlyObj, _xspSetRendererData, addFacesListener, decode, encodeChildren, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, isTransient, processRestoreState, processSaveState, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding |
| Methods inherited from class javax.faces.component.UIComponent |
|---|
_xspGetStateId, _xspGetStateMap, _xspRestoreAttribute, _xspRestoreState, _xspSaveState, isVisitable, markInitialState, setControlState |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String COMPONENT_TYPE
public static final java.lang.String COMPONENT_FAMILY
public static final java.lang.String RENDERER_TYPE
| Constructor Detail |
|---|
public UIIncludeComposite()
| Method Detail |
|---|
public java.lang.String getFamily()
getFamily in class javax.faces.component.UIPanelpublic PropertyMap getPropertyMap()
FacesPropertyProvider
getPropertyMap in interface FacesPropertyProviderpublic void addResource(Resource resource)
addResource in interface FacesPageProviderresource - FacesPageProvider.addResource(com.ibm.xsp.resource.Resource)public void addNavigationRule(NavigationRule rule)
addNavigationRule in interface FacesPageProviderrule - FacesPageProvider.addNavigationRule(NavigationRule)public void setAfterRenderResponse(javax.faces.el.MethodBinding afterRenderResponse)
FacesPageProvider
setAfterRenderResponse in interface FacesPageProviderafterRenderResponse - The afterRenderResponse to set.FacesPageProvider.setAfterRenderResponse(MethodBinding)public void setAfterRestoreView(javax.faces.el.MethodBinding afterRestoreView)
FacesPageProvider
setAfterRestoreView in interface FacesPageProviderafterRestoreView - The afterRestoreView to set.FacesPageProvider.setAfterRestoreView(MethodBinding)public void setBeforeRenderResponse(javax.faces.el.MethodBinding beforeRenderResponse)
FacesPageProvider
setBeforeRenderResponse in interface FacesPageProviderbeforeRenderResponse - The beforeRenderResponse to set.FacesPageProvider.setBeforeRenderResponse(MethodBinding)public javax.faces.el.MethodBinding getAfterPageLoad()
public void setAfterPageLoad(javax.faces.el.MethodBinding afterPageLoad)
FacesPageProvider
setAfterPageLoad in interface FacesPageProviderafterPageLoad - the afterPageLoad to setFacesPageProvider.setAfterPageLoad(MethodBinding)public javax.faces.el.MethodBinding getBeforePageLoad()
public void setBeforePageLoad(javax.faces.el.MethodBinding beforePageLoad)
FacesPageProvider
setBeforePageLoad in interface FacesPageProviderbeforePageLoad - the beforePageLoad to setFacesPageProvider.setBeforePageLoad(MethodBinding)public void setDojoTheme(boolean dojoTheme)
setDojoTheme in interface FacesPageProviderdojoTheme - true is the dojo theme should be usedFacesPageProvider.setDojoTheme(boolean)public void setDojoParseOnLoad(boolean dojoParseOnLoad)
false,
will be set on the root of the control tree.
setDojoParseOnLoad in interface FacesPageProviderdojoParseOnLoad - true is the dojo parser should be triggered on loadFacesPageProvider.setDojoParseOnLoad(boolean)public void setDefaultLinkTarget(java.lang.String defaultLinkTarget)
public void setEnableModifiedFlag(boolean enableModifiedFlag)
setEnableModifiedFlag in interface FacesPageProviderenableModifiedFlag - true if the modified flag should be used.FacesPageProvider.setEnableModifiedFlag(boolean)public void setModifiedMessage(java.lang.String modifiedMessage)
setModifiedMessage in interface FacesPageProviderFacesPageProvider.setModifiedMessage(java.lang.String)public void setModifiedControl(java.lang.String modifiedControl)
setModifiedControl in interface FacesPageProviderFacesPageProvider.setModifiedControl(java.lang.String)public void setDojoForm(boolean dojoForm)
setDojoForm in interface FacesPageProviderFacesPageProvider.setDojoForm(boolean)public void setPageBaseUrl(ViewRootBaseUrl pageBaseUrl)
setPageBaseUrl in interface FacesPageProviderFacesPageProvider.setPageBaseUrl(ViewRootBaseUrl)public void setPageManifest(java.lang.String pageManifest)
setPageManifest in interface FacesPageProviderFacesPageProvider.setPageManifest(String)public boolean isCreateForm()
public void setCreateForm(boolean createForm)
createForm - true to create a form if none already exists.
public void buildContents(javax.faces.context.FacesContext context,
FacesComponentBuilder builder)
throws javax.faces.FacesException
FacesComponent
buildContents in interface FacesComponentbuildContents in class UIDataPanelBasejavax.faces.FacesExceptionpublic void setPageDriver(FacesPageDriver pageDriver)
pageDriver - the current application's pageDriverpublic java.lang.String getPageName()
public void setPageName(java.lang.String name)
public boolean isAutoRemove()
public void setAutoRemove(boolean autoRemove)
autoRemove - Set the auto remove flag.public void setOnClientLoad(java.lang.String onClientLoad)
setOnClientLoad in interface FacesPageProvidersetOnClientLoad in class UIPanelExonClientLoad - client JavaScript to execute when the page loads in the client
or browserUIPanelEx.setOnClientLoad(java.lang.String),
FacesPageProvider.setOnClientLoad(String)public void setDir(java.lang.String dir)
setDir in class UIPanelExUIPanelEx.setDir(java.lang.String)public void setAcl(ACL acl)
setAcl in interface FacesPageProvidersetAcl in class UIDataPanelBaseUIDataPanelBase.setAcl(com.ibm.xsp.acl.ACL),
FacesPageProvider.setAcl(ACL)public java.lang.Object saveState(javax.faces.context.FacesContext context)
saveState in interface javax.faces.component.StateHoldersaveState in class UIPanelEx
public void restoreState(javax.faces.context.FacesContext context,
java.lang.Object state)
restoreState in interface javax.faces.component.StateHolderrestoreState in class UIPanelEx
public void initBeforeContents(javax.faces.context.FacesContext context)
throws javax.faces.FacesException
FacesComponent
initBeforeContents in interface FacesComponentinitBeforeContents in class UIDataPanelBasejavax.faces.FacesException
public void initAfterContents(javax.faces.context.FacesContext context)
throws javax.faces.FacesException
FacesComponent
initAfterContents in interface FacesComponentinitAfterContents in class UIDataPanelBasejavax.faces.FacesException
public void initBeforePageContents(javax.faces.context.FacesContext context)
throws javax.faces.FacesException
FacesPageIncluder
initBeforePageContents in interface FacesPageIncluderjavax.faces.FacesException
public void buildPageContents(javax.faces.context.FacesContext context,
FacesComponentBuilder builder)
throws javax.faces.FacesException
buildPageContents in interface FacesPageIncluderjavax.faces.FacesException
public void initAfterPageContents(javax.faces.context.FacesContext context)
throws javax.faces.FacesException
initAfterPageContents in interface FacesPageIncluderjavax.faces.FacesException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||