|
|||||||||
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 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
|
Fields inherited from class com.ibm.xsp.component.UIPanelEx |
---|
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, addDojoAttribute, getDir, getDojoAttributes, getDojoType, getOnClientLoad, getOuterStyleClass, getRole, getStyle, getStyleClass, getTitle, setDir, setDojoAttributes, setDojoType, setOuterStyleClass, setRole, setStyle, setStyleClass, 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
Constructor Detail |
---|
public UIInclude()
Method Detail |
---|
public java.lang.String getStyleKitFamily()
ThemeControl
The 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 ThemeControl
getStyleKitFamily
in class UIPanelEx
null
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.UIComponentBase
public java.lang.String getFamily()
getFamily
in class javax.faces.component.UIPanel
public 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 FacesPageProvider
rule
- public void setOnClientLoad(java.lang.String onClientLoad)
FacesPageProvider
setOnClientLoad
in interface FacesPageProvider
setOnClientLoad
in class UIPanelEx
onClientLoad
- client JavaScript to execute when the page loads in the client
or browserpublic void setAcl(ACL acl)
UIDataPanelBase
setAcl
in interface FacesPageProvider
setAcl
in class UIDataPanelBase
public void addNavigationRule(NavigationRule rule)
addNavigationRule
in interface FacesPageProvider
rule
- public void setAfterRenderResponse(javax.faces.el.MethodBinding afterRenderResponse)
FacesPageProvider
setAfterRenderResponse
in interface FacesPageProvider
afterRenderResponse
- The afterRenderResponse to set.public void setAfterRestoreView(javax.faces.el.MethodBinding afterRestoreView)
FacesPageProvider
setAfterRestoreView
in interface FacesPageProvider
afterRestoreView
- The afterRestoreView to set.public void setBeforeRenderResponse(javax.faces.el.MethodBinding beforeRenderResponse)
FacesPageProvider
setBeforeRenderResponse
in interface FacesPageProvider
beforeRenderResponse
- The beforeRenderResponse to set.public javax.faces.el.MethodBinding getAfterPageLoad()
public void setAfterPageLoad(javax.faces.el.MethodBinding afterPageLoad)
FacesPageProvider
setAfterPageLoad
in interface FacesPageProvider
afterPageLoad
- the afterPageLoad to setpublic javax.faces.el.MethodBinding getBeforePageLoad()
public void setBeforePageLoad(javax.faces.el.MethodBinding beforePageLoad)
FacesPageProvider
setBeforePageLoad
in interface FacesPageProvider
beforePageLoad
- the beforePageLoad to setpublic void setDojoTheme(boolean dojoTheme)
setDojoTheme
in interface FacesPageProvider
dojoTheme
- true is the dojo theme should be usedpublic void setDojoParseOnLoad(boolean dojoParseOnLoad)
setDojoParseOnLoad
in interface FacesPageProvider
dojoParseOnLoad
- true is the dojo parser should be triggered on loadpublic void setEnableModifiedFlag(boolean enableModifiedFlag)
setEnableModifiedFlag
in interface FacesPageProvider
enableModifiedFlag
- true if the modified flag should be used.public void setModifiedMessage(java.lang.String modifiedMessage)
setModifiedMessage
in interface FacesPageProvider
public void setModifiedControl(java.lang.String modifiedControl)
setModifiedControl
in interface FacesPageProvider
public void setDojoForm(boolean dojoForm)
setDojoForm
in interface FacesPageProvider
public void setPageBaseUrl(ViewRootBaseUrl pageBaseUrl)
setPageBaseUrl
in interface FacesPageProvider
public 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 FacesComponent
buildContents
in class UIDataPanelBase
javax.faces.FacesException
public void initBeforePageContents(javax.faces.context.FacesContext context) throws javax.faces.FacesException
FacesPageIncluder
initBeforePageContents
in interface FacesPageIncluder
javax.faces.FacesException
public void buildPageContents(javax.faces.context.FacesContext context, FacesComponentBuilder builder) throws javax.faces.FacesException
buildPageContents
in interface FacesPageIncluder
javax.faces.FacesException
public void initAfterPageContents(javax.faces.context.FacesContext context) throws javax.faces.FacesException
initAfterPageContents
in interface FacesPageIncluder
javax.faces.FacesException
public void setPageDriver(FacesPageDriver pageDriver)
pageDriver
- the current application's pageDriverpublic void initBeforeContents(javax.faces.context.FacesContext context) throws javax.faces.FacesException
FacesComponent
initBeforeContents
in interface FacesComponent
initBeforeContents
in class UIDataPanelBase
javax.faces.FacesException
public void initAfterContents(javax.faces.context.FacesContext context) throws javax.faces.FacesException
FacesComponent
initAfterContents
in interface FacesComponent
initAfterContents
in class UIDataPanelBase
javax.faces.FacesException
public java.lang.Object saveState(javax.faces.context.FacesContext context)
saveState
in interface javax.faces.component.StateHolder
saveState
in class UIPanelEx
public void restoreState(javax.faces.context.FacesContext context, java.lang.Object state)
restoreState
in interface javax.faces.component.StateHolder
restoreState
in class UIPanelEx
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |