com.ibm.xsp.component
Class UIViewRootEx2

java.lang.Object
  extended by javax.faces.component.UIComponent
      extended by javax.faces.component.UIComponentBase
          extended by javax.faces.component.UIViewRoot
              extended by com.ibm.xsp.component.UIViewRootEx
                  extended by com.ibm.xsp.component.UIViewRootEx2
All Implemented Interfaces:
FacesAutoForm, FacesComponent, FacesDataProvider, FacesPageProvider, ThemeControl, javax.faces.component.NamingContainer, javax.faces.component.StateHolder

public class UIViewRootEx2
extends UIViewRootEx
implements javax.faces.component.NamingContainer

Not intended to be subclassed.


Nested Class Summary
static class UIViewRootEx2.StateMapImpl2
          Not intended to be used except by the XPages runtime.
 
Nested classes/interfaces inherited from class com.ibm.xsp.component.UIViewRootEx
UIViewRootEx.StateMapImpl
 
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_TYPE
           
static java.lang.String RENDER_TYPE
           
 
Fields inherited from class com.ibm.xsp.component.UIViewRootEx
ALL_PARTIAL_PHASE_ID, NO_PARTIAL_PHASE_ID, STATE_FULLTREE, STATE_LASTTREE, STATE_NOSTATE, STATE_STATEMAP
 
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 javax.faces.component.NamingContainer
SEPARATOR_CHAR
 
Fields inherited from interface com.ibm.xsp.component.FacesDataProvider
DATA, DATA_CONTEXTS
 
Constructor Summary
UIViewRootEx2()
          Use the extended renderer which will generate the timezone cookie.
 
Method Summary
protected  void _invokePartialRefresh(FacesContextEx context, java.lang.String refreshId)
           
 void _xspCleanTransientData()
          Clear the view transient state.
 UIViewRootEx.StateMapImpl _xspCreateStateMap()
           
 void _xspRestoreState(javax.faces.component.UIComponent.StateMap stateMap)
           
 void _xspSaveState(javax.faces.component.UIComponent.StateMap stateMap)
           
 void addModifiedSaveAction(UIFormEx form)
           
 void addScript(java.lang.String newScript)
           
 void addScriptOnce(java.lang.String newScript)
           
 void addScriptOnLoad(java.lang.String newScript)
           
 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  UIFormEx createAutoForm()
           
 XspEventHandler findEventHandler(javax.faces.component.UIComponent component)
           
 UIScriptCollector findScriptCollector()
           
 java.lang.String getClientId(javax.faces.context.FacesContext facescontext)
          This class is a NamingContainer to avoid client id namespace conflicts in portal environments.
 com.ibm.jscript.types.FBSGlobalObject getGlobalObject()
           
 com.ibm.xsp.javascript.JavaScriptInterpreter getJSInterpreter()
           
protected  void notifyResourceAdded(Resource resource)
          A callback for the subclasses, invoked when a unique resource has been added.
 void removeModifiedSaveAction(UIFormEx form)
           
 void renderMarkup(javax.faces.context.FacesContext context, RenderCallback callback)
          Used by AajxUtil.renderMarkup.
 void restoreState(javax.faces.context.FacesContext context, java.lang.Object state)
           
 java.lang.Object saveState(javax.faces.context.FacesContext context)
           
 void setJSInterpreter(com.ibm.xsp.javascript.JavaScriptInterpreter jsInterpreter)
           
 
Methods inherited from class com.ibm.xsp.component.UIViewRootEx
_renderView, _xspGetQueryString, _xspGetStateMap, addData, addDataContext, addEncodeResource, addEncodeResource, addNavigationRule, addProperty, addResource, addResource, addResourceFromStyleKit, broadcast, buildContents, checkUserAccess, clearDataContainers, clearEncodeResources, createUniqueId, encodeBegin, encodeEnd, getAcl, getAfterPageLoad, getAfterRenderResponse, getAfterRestoreView, getBeforePageLoad, getBeforeRenderResponse, getData, getDataContainers, getDataContexts, getDefaultLinkTarget, getDir, getDocType, getEncodeProperty, getEncodeResources, getModifiedControl, getModifiedMessage, getNavigationRules, getOnClientLoad, getPageBaseUrl, getPageIcon, getPageManifest, getPageName, getPageTitle, getProperties, getRenderingSequence, getRequestUrl, getResources, getScrollX, getScrollY, getStyle, getStyleClass, getStyleKitFamily, getUniqueViewId, getViewProperty, getViewScope, getViewState, hasEncodeProperty, hasUserAccess, initAfterContents, initBeforeContents, invokeOnComponent, invokePhaseMethodBinding, isCreateForm, isDocTypeHtml, isDocTypeXhtml, isDojoForm, isDojoParseOnLoad, isDojoTheme, isEnableModifiedFlag, isLoadXspClientDojoUI, isLocaleChanged, isPreferredContentTypeXhtml, isReadonly, isRendered, isRenderingPhase, processDecodes, processUpdates, processValidators, publishControlData, putEncodeProperty, putViewProperty, queueEvent, renderView, restoredState, revokeControlData, save, save, setAcl, setAfterPageLoad, setAfterRenderResponse, setAfterRestoreView, setBeforePageLoad, setBeforeRenderResponse, setCreateForm, setDefaultLinkTarget, setDir, setDocType, setDojoForm, setDojoParseOnLoad, setDojoTheme, setEnableModifiedFlag, setLoadXspClientDojoUI, setLocaleChanged, setModifiedControl, setModifiedMessage, setOnClientLoad, setPageBaseUrl, setPageIcon, setPageManifest, setPageName, setPageTitle, setReadonly, setRequestUrl, setStyle, setStyleClass, setUniqueViewId, setViewState, shouldSaveState, visitTree
 
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, 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

COMPONENT_TYPE

public static final java.lang.String COMPONENT_TYPE
See Also:
Constant Field Values

RENDER_TYPE

public static final java.lang.String RENDER_TYPE
See Also:
Constant Field Values
Constructor Detail

UIViewRootEx2

public UIViewRootEx2()
Use the extended renderer which will generate the timezone cookie.

Method Detail

getJSInterpreter

public com.ibm.xsp.javascript.JavaScriptInterpreter getJSInterpreter()

setJSInterpreter

public void setJSInterpreter(com.ibm.xsp.javascript.JavaScriptInterpreter jsInterpreter)

getGlobalObject

public com.ibm.jscript.types.FBSGlobalObject getGlobalObject()

_xspCleanTransientData

public void _xspCleanTransientData()
Description copied from class: UIViewRootEx
Clear the view transient state. This should be done right after the view is serialized

Overrides:
_xspCleanTransientData in class UIViewRootEx

_xspCreateStateMap

public UIViewRootEx.StateMapImpl _xspCreateStateMap()
Overrides:
_xspCreateStateMap in class UIViewRootEx

_xspSaveState

public void _xspSaveState(javax.faces.component.UIComponent.StateMap stateMap)
Overrides:
_xspSaveState in class UIViewRootEx

_xspRestoreState

public void _xspRestoreState(javax.faces.component.UIComponent.StateMap stateMap)
Overrides:
_xspRestoreState in class UIViewRootEx

_invokePartialRefresh

protected void _invokePartialRefresh(FacesContextEx context,
                                     java.lang.String refreshId)
                              throws java.io.IOException
Overrides:
_invokePartialRefresh in class UIViewRootEx
Throws:
java.io.IOException

renderMarkup

public void renderMarkup(javax.faces.context.FacesContext context,
                         RenderCallback callback)
                  throws java.io.IOException
Description copied from class: UIViewRootEx
Used by AajxUtil.renderMarkup. Do not use it directly.

Overrides:
renderMarkup in class UIViewRootEx
Throws:
java.io.IOException

addModifiedSaveAction

public void addModifiedSaveAction(UIFormEx form)
Overrides:
addModifiedSaveAction in class UIViewRootEx

removeModifiedSaveAction

public void removeModifiedSaveAction(UIFormEx form)
Overrides:
removeModifiedSaveAction in class UIViewRootEx

findEventHandler

public XspEventHandler findEventHandler(javax.faces.component.UIComponent component)

createAutoForm

protected UIFormEx createAutoForm()
Overrides:
createAutoForm in class UIViewRootEx

notifyResourceAdded

protected void notifyResourceAdded(Resource resource)
Description copied from class: UIViewRootEx
A callback for the subclasses, invoked when a unique resource has been added.

Overrides:
notifyResourceAdded in class UIViewRootEx

buildContents

public void buildContents(javax.faces.context.FacesContext context,
                          FacesComponentBuilder builder)
                   throws javax.faces.FacesException
Description copied from interface: FacesComponent
Build the component children and facets, the default implementation is usually:
builder.buildAll(context, this, true); // includeFacets=true

Specified by:
buildContents in interface FacesComponent
Overrides:
buildContents in class UIViewRootEx
Throws:
javax.faces.FacesException

findScriptCollector

public UIScriptCollector findScriptCollector()

addScriptOnce

public void addScriptOnce(java.lang.String newScript)
Overrides:
addScriptOnce in class UIViewRootEx

addScript

public void addScript(java.lang.String newScript)
Overrides:
addScript in class UIViewRootEx

addScriptOnLoad

public void addScriptOnLoad(java.lang.String newScript)
Overrides:
addScriptOnLoad in class UIViewRootEx

getClientId

public java.lang.String getClientId(javax.faces.context.FacesContext facescontext)
This class is a NamingContainer to avoid client id namespace conflicts in portal environments.

Overrides:
getClientId in class javax.faces.component.UIComponentBase

saveState

public java.lang.Object saveState(javax.faces.context.FacesContext context)
Specified by:
saveState in interface javax.faces.component.StateHolder
Overrides:
saveState in class UIViewRootEx

restoreState

public void restoreState(javax.faces.context.FacesContext context,
                         java.lang.Object state)
Specified by:
restoreState in interface javax.faces.component.StateHolder
Overrides:
restoreState in class UIViewRootEx