|
|||||||||
| 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.UIInclude
public class UIInclude
XPages Container Controls - Include Page.
The xp:include tag in the XPage source.
| 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 | |
|---|---|
UIInclude()
Default constructor for an XFInclude |
|
| 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)
|
void |
decode(javax.faces.context.FacesContext context)
|
javax.faces.el.MethodBinding |
getAfterPageLoad()
|
javax.faces.el.MethodBinding |
getBeforePageLoad()
|
java.lang.String |
getComponentId()
|
java.lang.String |
getFamily()
|
java.lang.String |
getPageName()
|
java.lang.String |
getStyleKitFamily()
The styleKitFamily is basically the default themeId, to use if the "themeId" property is not set on this control instance in the XPage source. |
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. |
void |
restoreState(javax.faces.context.FacesContext context,
java.lang.Object state)
|
java.lang.Object |
saveState(javax.faces.context.FacesContext context)
|
void |
setAcl(ACL acl)
Set the ACL |
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 |
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 |
setComponentId(java.lang.String tagid)
|
void |
setDojoForm(boolean dojoForm)
|
void |
setDojoParseOnLoad(boolean dojoParseOnLoad)
Flag to indicate whether or not a dojo theme is being used. |
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)
Sets the client JavaScript that was set for the onClientLoad event in the All Properties tab of the XPages Editor's Properties view, which is unusual because events are normally handled in the Events view. |
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 pagename)
|
| Methods inherited from class com.ibm.xsp.component.UIPanelEx |
|---|
_xspCleanTransientData, addAttr, addDojoAttribute, getAttrs, getDir, getDojoAttributes, getDojoType, getOnClientLoad, getOuterStyleClass, getRole, getStyle, getStyleClass, getTagName, getTitle, isDisableOutputTag, setAttrs, setDir, 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, 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 UIInclude()
| Method Detail |
|---|
public java.lang.String getStyleKitFamily()
ThemeControlThe implementation may return different values depending on the configuration of the current control, for example the Button control returns a different value and looks different when it is configured as a cancel button.
getStyleKitFamily in interface ThemeControlgetStyleKitFamily in class UIPanelExnull themeId corresponding to the
configuration for this type of control in a theme file.public void decode(javax.faces.context.FacesContext context)
decode in class javax.faces.component.UIComponentBasepublic java.lang.String getFamily()
getFamily in class javax.faces.component.UIPanelpublic java.lang.String getPageName()
public void setPageName(java.lang.String pagename)
pagename - The pagename to set.public java.lang.String getComponentId()
public void setComponentId(java.lang.String tagid)
tagid - The tagid to set.public void addResource(Resource resource)
addResource in interface FacesPageProviderrule - public void setOnClientLoad(java.lang.String onClientLoad)
FacesPageProvider
setOnClientLoad in interface FacesPageProvidersetOnClientLoad in class UIPanelExonClientLoad - client JavaScript to execute when the page loads in the client
or browserpublic void setAcl(ACL acl)
UIDataPanelBase
setAcl in interface FacesPageProvidersetAcl in class UIDataPanelBasepublic void addNavigationRule(NavigationRule rule)
addNavigationRule in interface FacesPageProviderrule - public void setAfterRenderResponse(javax.faces.el.MethodBinding afterRenderResponse)
FacesPageProvider
setAfterRenderResponse in interface FacesPageProviderafterRenderResponse - The afterRenderResponse to set.public void setAfterRestoreView(javax.faces.el.MethodBinding afterRestoreView)
FacesPageProvider
setAfterRestoreView in interface FacesPageProviderafterRestoreView - The afterRestoreView to set.public void setBeforeRenderResponse(javax.faces.el.MethodBinding beforeRenderResponse)
FacesPageProvider
setBeforeRenderResponse in interface FacesPageProviderbeforeRenderResponse - The beforeRenderResponse to set.public javax.faces.el.MethodBinding getAfterPageLoad()
public void setAfterPageLoad(javax.faces.el.MethodBinding afterPageLoad)
FacesPageProvider
setAfterPageLoad in interface FacesPageProviderafterPageLoad - the afterPageLoad to setpublic javax.faces.el.MethodBinding getBeforePageLoad()
public void setBeforePageLoad(javax.faces.el.MethodBinding beforePageLoad)
FacesPageProvider
setBeforePageLoad in interface FacesPageProviderbeforePageLoad - the beforePageLoad to setpublic void setDojoTheme(boolean dojoTheme)
setDojoTheme in interface FacesPageProviderdojoTheme - true is the dojo theme should be usedpublic void setDojoParseOnLoad(boolean dojoParseOnLoad)
setDojoParseOnLoad in interface FacesPageProviderdojoParseOnLoad - true is the dojo parser should be triggered on loadpublic void setEnableModifiedFlag(boolean enableModifiedFlag)
setEnableModifiedFlag in interface FacesPageProviderenableModifiedFlag - true if the modified flag should be used.public void setModifiedMessage(java.lang.String modifiedMessage)
setModifiedMessage in interface FacesPageProviderpublic void setModifiedControl(java.lang.String modifiedControl)
setModifiedControl in interface FacesPageProviderpublic void setDojoForm(boolean dojoForm)
setDojoForm in interface FacesPageProviderpublic void setPageBaseUrl(ViewRootBaseUrl pageBaseUrl)
setPageBaseUrl in interface FacesPageProviderpublic void setPageManifest(java.lang.String pageManifest)
setPageManifest in interface FacesPageProvider
public void buildContents(javax.faces.context.FacesContext context,
FacesComponentBuilder builder)
throws javax.faces.FacesException
FacesComponent
buildContents in interface FacesComponentbuildContents 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.FacesExceptionpublic void setPageDriver(FacesPageDriver pageDriver)
pageDriver - the current application's pageDriver
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.FacesExceptionpublic 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
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||