|
||||||||||
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.UIViewRoot com.ibm.xsp.component.UIViewRootEx
public class UIViewRootEx
Superclass of UIViewRootEx (the xp:view tag, the XPage root control). Not intended to be subclassed, methods beginning with "_" are intended to be used only by the XPages runtime.
Nested Class Summary | |
---|---|
static class |
UIViewRootEx.StateMapImpl
Not intended to be used except by the XPages runtime. |
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 |
ALL_PARTIAL_PHASE_ID
Related to FacesContextEx.getPartialRefreshId() |
static java.lang.String |
COMPONENT_TYPE
|
static java.lang.String |
NO_PARTIAL_PHASE_ID
Related to FacesContextEx.getPartialRefreshId() |
static java.lang.String |
RENDERER_TYPE
|
static java.lang.String |
STATE_FULLTREE
Possible value of getViewState() |
static java.lang.String |
STATE_LASTTREE
Possible value of getViewState() |
static java.lang.String |
STATE_NOSTATE
Possible value of getViewState() |
static java.lang.String |
STATE_STATEMAP
Possible value of getViewState() |
Fields inherited from class javax.faces.component.UIViewRoot |
---|
_viewScope, COMPONENT_FAMILY, UNIQUE_ID_PREFIX |
Fields inherited from class javax.faces.component.UIComponentBase |
---|
EMPTY_ITERATOR |
Fields inherited from class javax.faces.component.UIComponent |
---|
_xspStateId |
Fields inherited from interface com.ibm.xsp.component.FacesDataProvider |
---|
DATA, DATA_CONTEXTS |
Constructor Summary | |
---|---|
UIViewRootEx()
|
Method Summary | |
---|---|
protected void |
_invokePartialRefresh(FacesContextEx context,
java.lang.String refreshId)
|
protected void |
_renderView(FacesContextEx context)
|
void |
_xspCleanTransientData()
Clear the view transient state. |
UIViewRootEx.StateMapImpl |
_xspCreateStateMap()
|
java.lang.String |
_xspGetQueryString()
|
UIViewRootEx.StateMapImpl |
_xspGetStateMap()
Not intended to be used anywhere except by the XPages runtime. |
void |
_xspRestoreState(javax.faces.component.UIComponent.StateMap stateMap)
|
void |
_xspSaveState(javax.faces.component.UIComponent.StateMap stateMap)
|
void |
addAttr(Attr attr)
Add an Attr , to appear as an attribute in the HTML output of this control
or object tag. |
void |
addData(DataSource data)
Add a DataSource instance to the set associated with this component. |
void |
addDataContext(DataContext dataContext)
Add a DataContext instance to the set associated with this component. |
void |
addEncodeResource(javax.faces.context.FacesContext context,
Resource resource)
|
void |
addEncodeResource(Resource resource)
Adds a resource to be rendered by the viewRoot, but only during this encode phase. |
void |
addModifiedSaveAction(UIFormEx form)
|
void |
addNavigationRule(NavigationRule rule)
Add a NavigationRule instance to the set associated with this component. |
void |
addProperty(Parameter property)
Invoked by the generated XPage .java file, not intended to be invoked directly, as the property parameters are processed early after the view is created, and not re-evaluated after that. |
void |
addResource(int index,
Resource resource)
|
void |
addResource(Resource resource)
Add a Resource instance to the set associated with this component. |
void |
addResourceFromStyleKit(int index,
Resource resource)
|
void |
addScript(java.lang.String newScript)
|
void |
addScriptOnce(java.lang.String newScript)
|
void |
addScriptOnLoad(java.lang.String newScript)
|
void |
broadcast(javax.faces.event.FacesEvent event)
|
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 |
protected void |
buildContents(javax.faces.context.FacesContext context,
FacesComponentBuilder builder,
javax.faces.component.UIComponent parent)
|
protected void |
checkUserAccess(javax.faces.context.FacesContext context,
int minRights)
Check does user have access to the current page |
void |
clearDataContainers()
Clear all data containers scoped to this view |
void |
clearEncodeResources()
|
protected UIFormEx |
createAutoForm()
|
java.lang.String |
createUniqueId()
|
void |
encodeBegin(javax.faces.context.FacesContext context)
|
void |
encodeEnd(javax.faces.context.FacesContext context)
|
ACL |
getAcl()
Return the ACL |
javax.faces.el.MethodBinding |
getAfterPageLoad()
Triggered after a page is loaded. |
javax.faces.el.MethodBinding |
getAfterRenderResponse()
|
javax.faces.el.MethodBinding |
getAfterRestoreView()
|
java.util.List<Attr> |
getAttrs()
Note, this should not be used for the getPageManifest()
property, as there is explicit support for that property. |
javax.faces.el.MethodBinding |
getBeforePageLoad()
Triggered before a page is loaded. |
javax.faces.el.MethodBinding |
getBeforeRenderResponse()
|
java.util.List<DataSource> |
getData()
Returns the list of component data objects. |
java.util.Map<java.lang.String,DataContainer> |
getDataContainers()
Return the data containers scoped to this view |
java.util.List<DataContext> |
getDataContexts()
Returns the list of component data context objects. |
java.lang.String |
getDefaultLinkTarget()
|
java.lang.String |
getDir()
Return the value of the dir property. |
java.lang.String |
getDocType()
This is not a property in the XPages editor All Properties tab, it reads the doctype setting from the xsp.properties file, normalizing it for the difference in expected format between 8.5.1 and 8.5.2. |
java.lang.Object |
getEncodeProperty(java.lang.String name)
|
java.util.List<Resource> |
getEncodeResources()
|
java.lang.String |
getModifiedControl()
|
java.lang.String |
getModifiedMessage()
|
java.util.List<NavigationRule> |
getNavigationRules()
|
java.lang.String |
getOnClientLoad()
Triggers client code after a page is loaded. |
ViewRootBaseUrl |
getPageBaseUrl()
|
java.lang.String |
getPageIcon()
|
java.lang.String |
getPageManifest()
|
java.lang.String |
getPageName()
Return the value of the pageName property. |
java.lang.String |
getPageTitle()
|
java.util.List<Parameter> |
getProperties()
Not intended to be used directly, use getViewProperty(String)
instead. |
int |
getRenderingSequence()
|
java.lang.String |
getRequestUrl()
Return the value of the requestUrl property. |
java.util.List<Resource> |
getResources()
|
int |
getScrollX()
|
int |
getScrollY()
|
java.lang.String |
getStyle()
Return the value of the style property. |
java.lang.String |
getStyleClass()
Return the value of the styleClass property. |
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. |
java.lang.String |
getUniqueViewId()
|
java.lang.String |
getViewProperty(java.lang.String name)
Get a view property, for the given configuration property (where the property is named like the options in the xsp.properties file), this returns the value that was set for that property in the XPage root control's All Properties tab, in the property named "properties". |
java.util.Map |
getViewScope()
Deprecated. |
java.lang.String |
getViewState()
The value of the "viewState" property set in the XPage source on the XPage root control, or else it finds the value of the configuration option configured in the Application Properties, XPages tab, Performance section, the "Server page persistence:" setting. |
boolean |
hasEncodeProperty(java.lang.String name)
|
protected boolean |
hasUserAccess(javax.faces.context.FacesContext context,
int minRights)
Check does user have access to this panel |
void |
initAfterContents(javax.faces.context.FacesContext context)
Perform component initialization after it's children and facets are added. |
void |
initBeforeContents(javax.faces.context.FacesContext context)
Perform component initialization before its children and facets are added. |
boolean |
invokeOnComponent(javax.faces.context.FacesContext context,
java.lang.String clientId,
javax.faces.component.ContextCallback callback)
|
void |
invokePhaseMethodBinding(javax.faces.context.FacesContext context,
javax.faces.event.PhaseEvent event,
boolean isAfter)
Invoke a method binding while ensuring that the view data sources are available This make the different phases work like the after/before load events |
boolean |
isCreateForm()
Returns true if a form will be created if none already exists. |
boolean |
isDocTypeHtml()
|
boolean |
isDocTypeXhtml()
|
boolean |
isDojoForm()
Returns true if this view root should generate a dojo form type to the Form. |
boolean |
isDojoParseOnLoad()
Returns true if this view root should trigger the dojo parser on load. |
boolean |
isDojoTheme()
Returns true if this view root should generate a reference to a Dojo theme. |
boolean |
isEnableModifiedFlag()
|
boolean |
isLoadXspClientDojoUI()
|
boolean |
isLocaleChanged()
Not a property in the XPages Editor's All Properties tab, set and used by the infrastructure. |
boolean |
isPreferredContentTypeXhtml()
|
boolean |
isReadonly()
|
boolean |
isRendered()
|
boolean |
isRenderingPhase()
|
protected void |
notifyResourceAdded(Resource resource)
A callback for the subclasses, invoked when a unique resource has been added. |
void |
postScript(java.lang.String newScript)
|
void |
processDecodes(javax.faces.context.FacesContext context)
|
void |
processUpdates(javax.faces.context.FacesContext context)
|
void |
processValidators(javax.faces.context.FacesContext context)
|
protected java.util.List<DataPublisher.ShadowedObject> |
publishControlData(javax.faces.context.FacesContext context)
|
void |
putEncodeProperty(java.lang.String name,
java.lang.Object value)
|
void |
putViewProperty(java.lang.String name,
java.lang.String value)
Not intended to be invoked directly, this is used by the infrastructure to set up the property values available through getViewProperty(String) . |
void |
queueEvent(javax.faces.event.FacesEvent event)
|
void |
removeModifiedSaveAction(UIFormEx form)
|
void |
renderMarkup(javax.faces.context.FacesContext context,
RenderCallback callback)
Used by AajxUtil.renderMarkup. |
void |
renderView(javax.faces.context.FacesContext context)
|
protected void |
restoredState(javax.faces.context.FacesContext context)
Should be invoked by the restoreState(FacesContext, Object)
method after the property values are restored. |
void |
restoreState(javax.faces.context.FacesContext context,
java.lang.Object state)
|
protected void |
revokeControlData(java.util.List<DataPublisher.ShadowedObject> shadowedData,
javax.faces.context.FacesContext context)
|
boolean |
save()
Calling this method will cause all data sources contained within this form to have their contents saved and also have the associated data model removed from the associated bean manager. |
boolean |
save(boolean removeFromManager)
Calling this method will cause all data sources contained within this form to have their contents saved and optionally have the associated data model removed from the associated bean manager. |
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. |
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 |
setAttrs(java.util.List<Attr> attrs)
This method is not used by the XPage generated .java file - instead the addAttr(Attr) method is used to add attributes to the list. |
void |
setBeforePageLoad(javax.faces.el.MethodBinding beforePageLoad)
Triggered before a page is loaded. |
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. |
void |
setDefaultLinkTarget(java.lang.String defaultLinkTarget)
|
void |
setDir(java.lang.String dir)
Set the value of the dir property. |
void |
setDocType(java.lang.String docType)
|
void |
setDojoForm(boolean dojoForm)
Flag to indicate whether or not a dojo form is being used. |
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)
|
void |
setLoadXspClientDojoUI(boolean loadXspClientDojoUI)
Does not correspond to a property in the All Properties tab of the editor, internal setting used by some of the XPages runtime provided controls to determine whether to use one of the XPages runtime Dojo layers, should not be used by 3rd parties. |
void |
setLocaleChanged(boolean changed)
|
void |
setModifiedControl(java.lang.String modifiedControl)
|
void |
setModifiedMessage(java.lang.String dirtyMessage)
|
void |
setOnClientLoad(java.lang.String onClientLoad)
Triggers client code after a page is loaded. |
void |
setPageBaseUrl(ViewRootBaseUrl pageBaseUrl)
|
void |
setPageIcon(java.lang.String pageIcon)
|
void |
setPageManifest(java.lang.String pageManifest)
|
void |
setPageName(java.lang.String pageName)
Set the value of the pageName property. |
void |
setPageTitle(java.lang.String viewTitle)
|
void |
setReadonly(boolean readOnly)
|
void |
setRequestUrl(java.lang.String requestUrl)
Set the value of the requestUrl property. |
void |
setStyle(java.lang.String style)
Set the value of the style property. |
void |
setStyleClass(java.lang.String styleClass)
Set the value of the styleClass property. |
void |
setUniqueViewId(java.lang.String uniqueViewId)
|
void |
setViewState(java.lang.String viewState)
Set the value of the viewState property. |
boolean |
shouldSaveState(javax.faces.context.FacesContext context)
|
boolean |
visitTree(javax.faces.component.visit.VisitContext context,
javax.faces.component.visit.VisitCallback callback)
|
Methods inherited from class javax.faces.component.UIViewRoot |
---|
broadcastEvents, clearEventList, getFamily, getLocale, getRenderKitId, getViewId, getViewMap, getViewMap, processApplication, setLocale, setRenderKitId, setViewId |
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, _xspRestoreAttribute, 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 RENDERER_TYPE
public static final java.lang.String NO_PARTIAL_PHASE_ID
FacesContextEx.getPartialRefreshId()
public static final java.lang.String ALL_PARTIAL_PHASE_ID
FacesContextEx.getPartialRefreshId()
public static final java.lang.String STATE_FULLTREE
getViewState()
public static final java.lang.String STATE_NOSTATE
getViewState()
public static final java.lang.String STATE_LASTTREE
getViewState()
public static final java.lang.String STATE_STATEMAP
getViewState()
Constructor Detail |
---|
public UIViewRootEx()
Method Detail |
---|
public java.lang.String createUniqueId()
createUniqueId
in class javax.faces.component.UIViewRoot
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
null
themeId corresponding to the
configuration for this type of control in a theme file.public java.lang.String getUniqueViewId()
public void setUniqueViewId(java.lang.String uniqueViewId)
public void _xspCleanTransientData()
_xspCleanTransientData
in class javax.faces.component.UIViewRoot
public java.lang.String _xspGetQueryString()
_xspGetQueryString
in class javax.faces.component.UIViewRoot
public UIViewRootEx.StateMapImpl _xspCreateStateMap()
public void _xspSaveState(javax.faces.component.UIComponent.StateMap stateMap)
_xspSaveState
in class javax.faces.component.UIComponent
public void _xspRestoreState(javax.faces.component.UIComponent.StateMap stateMap)
_xspRestoreState
in class javax.faces.component.UIComponent
public boolean isEnableModifiedFlag()
public void setEnableModifiedFlag(boolean enableModifiedFlag)
setEnableModifiedFlag
in interface FacesPageProvider
public java.lang.String getModifiedMessage()
public void setModifiedMessage(java.lang.String dirtyMessage)
setModifiedMessage
in interface FacesPageProvider
public java.lang.String getModifiedControl()
public void setModifiedControl(java.lang.String modifiedControl)
setModifiedControl
in interface FacesPageProvider
public java.lang.String getPageTitle()
public void setPageTitle(java.lang.String viewTitle)
viewTitle
- Value to be displayed as the page titlepublic java.lang.String getPageIcon()
public void setPageIcon(java.lang.String pageIcon)
viewTitle
- Value to be displayed as the page titlepublic java.lang.String getPageManifest()
public void setPageManifest(java.lang.String pageManifest)
setPageManifest
in interface FacesPageProvider
manifest
- Value of the manifest attribute of the HTML tagpublic ViewRootBaseUrl getPageBaseUrl()
public void setPageBaseUrl(ViewRootBaseUrl pageBaseUrl)
setPageBaseUrl
in interface FacesPageProvider
pageBaseUrl
- the new base url to assign to the head tagpublic boolean isReadonly()
public void setReadonly(boolean readOnly)
public boolean isRendered()
isRendered
in class javax.faces.component.UIComponentBase
public void addProperty(Parameter property)
getViewProperty(String)
.
property
- the property to add to the listpublic java.util.List<Parameter> getProperties()
getViewProperty(String)
instead. See the comments in addProperty(Parameter)
.
public java.util.List<DataSource> getData()
getData
in interface FacesDataProvider
public void addData(DataSource data)
DataSource
instance to the set associated with this component.
addData
in interface FacesDataProvider
data
- The component data to add.public java.util.List<DataContext> getDataContexts()
getDataContexts
in interface FacesDataProvider
public void addDataContext(DataContext dataContext)
DataContext
instance to the set associated with this component.
addDataContext
in interface FacesDataProvider
dataContexts
- The component data context to add.public ACL getAcl()
public void setAcl(ACL acl)
setAcl
in interface FacesPageProvider
public java.util.List<NavigationRule> getNavigationRules()
public void addNavigationRule(NavigationRule rule)
addNavigationRule
in interface FacesPageProvider
rule
- public java.util.List<Resource> getResources()
public void addResource(Resource resource)
addResource
in interface FacesPageProvider
rule
- public void addResource(int index, Resource resource)
public void addResourceFromStyleKit(int index, Resource resource)
protected void notifyResourceAdded(Resource resource)
resource
- public boolean isDojoTheme()
public void setDojoTheme(boolean dojoTheme)
setDojoTheme
in interface FacesPageProvider
dojoTheme
- true is the dojo theme should be usedpublic boolean isDojoForm()
public void setDojoForm(boolean dojoForm)
setDojoForm
in interface FacesPageProvider
dojoTheme
- true is the dojo form should be usedpublic boolean isDojoParseOnLoad()
public void setDojoParseOnLoad(boolean dojoParseOnLoad)
setDojoParseOnLoad
in interface FacesPageProvider
dojoParseOnLoad
- true is the dojo parser should be triggered on loadpublic void setLoadXspClientDojoUI(boolean loadXspClientDojoUI)
loadXspClientDojoUI
- true if the control requires xspClientDojoUI to be loadedpublic boolean isLoadXspClientDojoUI()
setLoadXspClientDojoUI(boolean)
public boolean isCreateForm()
isCreateForm
in interface FacesAutoForm
UIFormEx
public void setCreateForm(boolean createForm)
setCreateForm
in interface FacesAutoForm
createForm
- true to create a form if none already exists.public java.lang.String getDir()
Return the value of the dir
property. Contents:
Direction indication for text that does not inherit directionality. Valid values are "LTR" (left-to-right) and "RTL" (right-to-left).
public void setDir(java.lang.String dir)
Set the value of the dir
property.
public java.lang.String getPageName()
Return the value of the pageName
property.
public void setPageName(java.lang.String pageName)
Set the value of the pageName
property.
public java.lang.String getRequestUrl()
Return the value of the requestUrl
property.
public void setRequestUrl(java.lang.String requestUrl)
Set the value of the requestUrl
property.
public java.lang.String getOnClientLoad()
public void setOnClientLoad(java.lang.String onClientLoad)
setOnClientLoad
in interface FacesPageProvider
onClientLoad
- The on client loadpublic javax.faces.el.MethodBinding getAfterPageLoad()
public void setAfterPageLoad(javax.faces.el.MethodBinding afterPageLoad)
setAfterPageLoad
in interface FacesPageProvider
afterPageLoad
- The after page load method binding to set.public javax.faces.el.MethodBinding getBeforePageLoad()
public void setBeforePageLoad(javax.faces.el.MethodBinding beforePageLoad)
setBeforePageLoad
in interface FacesPageProvider
beforePageLoad
- The before page load method binding to set.public javax.faces.el.MethodBinding getAfterRenderResponse()
public void setAfterRenderResponse(javax.faces.el.MethodBinding afterRenderResponse)
FacesPageProvider
setAfterRenderResponse
in interface FacesPageProvider
afterRenderResponse
- The afterRenderResponse to set.public javax.faces.el.MethodBinding getAfterRestoreView()
public void setAfterRestoreView(javax.faces.el.MethodBinding afterRestoreView)
FacesPageProvider
setAfterRestoreView
in interface FacesPageProvider
afterRestoreView
- The afterRestoreView to set.public javax.faces.el.MethodBinding getBeforeRenderResponse()
public void setBeforeRenderResponse(javax.faces.el.MethodBinding beforeRenderResponse)
FacesPageProvider
setBeforeRenderResponse
in interface FacesPageProvider
beforeRenderResponse
- The beforeRenderResponse to set.public java.util.List<Attr> getAttrs()
getPageManifest()
property, as there is explicit support for that property. The extra
attributes to be output on the base element at the root of this control
or object tag. This should only be used when none of the properties in
the All Properties pane correspond to the desired attribute. This may
return null
. The addAttr(Attr)
method should be
used to add an Attr
.
getAttrs
in interface FacesAttrsObject
public void addAttr(Attr attr)
Attr
, to appear as an attribute in the HTML output of this control
or object tag.
addAttr
in interface FacesAttrsObject
action
- public void setAttrs(java.util.List<Attr> attrs)
addAttr(Attr)
method is used to add attributes to the list.
public boolean isLocaleChanged()
public void setLocaleChanged(boolean changed)
public boolean save() throws javax.faces.FacesException
javax.faces.FacesException
public boolean save(boolean removeFromManager) throws javax.faces.FacesException
javax.faces.FacesException
public int getScrollX()
public int getScrollY()
public void renderView(javax.faces.context.FacesContext context) throws java.io.IOException
java.io.IOException
protected java.util.List<DataPublisher.ShadowedObject> publishControlData(javax.faces.context.FacesContext context)
context
-
protected void revokeControlData(java.util.List<DataPublisher.ShadowedObject> shadowedData, javax.faces.context.FacesContext context)
shadowedData
- context
- protected void _renderView(FacesContextEx context) throws java.io.IOException
java.io.IOException
protected void _invokePartialRefresh(FacesContextEx context, java.lang.String refreshId) throws java.io.IOException
java.io.IOException
public void renderMarkup(javax.faces.context.FacesContext context, RenderCallback callback) throws java.io.IOException
java.io.IOException
public void encodeBegin(javax.faces.context.FacesContext context) throws java.io.IOException
encodeBegin
in class javax.faces.component.UIViewRoot
java.io.IOException
public void encodeEnd(javax.faces.context.FacesContext context) throws java.io.IOException
encodeEnd
in class javax.faces.component.UIComponentBase
java.io.IOException
public void processDecodes(javax.faces.context.FacesContext context)
processDecodes
in class javax.faces.component.UIViewRoot
public void processValidators(javax.faces.context.FacesContext context)
processValidators
in class javax.faces.component.UIViewRoot
public void processUpdates(javax.faces.context.FacesContext context)
processUpdates
in class javax.faces.component.UIViewRoot
public void queueEvent(javax.faces.event.FacesEvent event)
queueEvent
in class javax.faces.component.UIViewRoot
public void broadcast(javax.faces.event.FacesEvent event) throws javax.faces.event.AbortProcessingException
broadcast
in class javax.faces.component.UIComponentBase
javax.faces.event.AbortProcessingException
public boolean invokeOnComponent(javax.faces.context.FacesContext context, java.lang.String clientId, javax.faces.component.ContextCallback callback) throws javax.faces.FacesException
invokeOnComponent
in class javax.faces.component.UIComponent
javax.faces.FacesException
public boolean visitTree(javax.faces.component.visit.VisitContext context, javax.faces.component.visit.VisitCallback callback)
visitTree
in class javax.faces.component.UIComponent
public void initBeforeContents(javax.faces.context.FacesContext context) throws javax.faces.FacesException
FacesComponent
initBeforeContents
in interface FacesComponent
javax.faces.FacesException
public void buildContents(javax.faces.context.FacesContext context, FacesComponentBuilder builder) throws javax.faces.FacesException
FacesComponent
buildContents
in interface FacesComponent
javax.faces.FacesException
protected void buildContents(javax.faces.context.FacesContext context, FacesComponentBuilder builder, javax.faces.component.UIComponent parent) throws javax.faces.FacesException
javax.faces.FacesException
protected UIFormEx createAutoForm()
public void addModifiedSaveAction(UIFormEx form)
public void removeModifiedSaveAction(UIFormEx form)
public void initAfterContents(javax.faces.context.FacesContext context) throws javax.faces.FacesException
FacesComponent
initAfterContents
in interface FacesComponent
javax.faces.FacesException
public void invokePhaseMethodBinding(javax.faces.context.FacesContext context, javax.faces.event.PhaseEvent event, boolean isAfter)
public final java.util.Map getViewScope()
public java.lang.String getViewProperty(java.lang.String name)
public void putViewProperty(java.lang.String name, java.lang.String value)
getViewProperty(String)
. Put a view property.
protected void checkUserAccess(javax.faces.context.FacesContext context, int minRights)
public boolean shouldSaveState(javax.faces.context.FacesContext context)
public java.lang.String getViewState()
public void setViewState(java.lang.String viewState)
Set the value of the viewState
property.
public java.lang.String getStyle()
Return the value of the style
property. Contents:
CSS style(s) to be applied when this component is rendered.
public void setStyle(java.lang.String style)
Set the value of the style
property.
public java.lang.String getStyleClass()
Return the value of the styleClass
property. Contents:
Space-separated list of CSS style class(es) to be applied when this element is rendered. This value must be passed through as the "class" attribute on generated markup.
public void setStyleClass(java.lang.String styleClass)
Set the value of the styleClass
property.
public java.lang.String getDocType()
public void setDocType(java.lang.String docType)
public boolean isDocTypeHtml()
public boolean isDocTypeXhtml()
public boolean isPreferredContentTypeXhtml()
public int getRenderingSequence()
public boolean isRenderingPhase()
public java.util.Map<java.lang.String,DataContainer> getDataContainers()
public void clearDataContainers()
public java.lang.Object saveState(javax.faces.context.FacesContext context)
saveState
in interface javax.faces.component.StateHolder
saveState
in class javax.faces.component.UIViewRoot
public void restoreState(javax.faces.context.FacesContext context, java.lang.Object state)
restoreState
in interface javax.faces.component.StateHolder
restoreState
in class javax.faces.component.UIViewRoot
protected void restoredState(javax.faces.context.FacesContext context)
restoreState(FacesContext, Object)
method after the property values are restored.
context
- protected boolean hasUserAccess(javax.faces.context.FacesContext context, int minRights)
public void addEncodeResource(Resource resource)
resource
- public void addEncodeResource(javax.faces.context.FacesContext context, Resource resource)
public java.util.List<Resource> getEncodeResources()
public void clearEncodeResources()
public boolean hasEncodeProperty(java.lang.String name)
public java.lang.Object getEncodeProperty(java.lang.String name)
public void putEncodeProperty(java.lang.String name, java.lang.Object value)
public void addScriptOnce(java.lang.String newScript)
public void addScript(java.lang.String newScript)
public void addScriptOnLoad(java.lang.String newScript)
public void postScript(java.lang.String newScript)
public UIViewRootEx.StateMapImpl _xspGetStateMap()
_xspGetStateMap
in class javax.faces.component.UIComponent
public java.lang.String getDefaultLinkTarget()
public void setDefaultLinkTarget(java.lang.String defaultLinkTarget)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |