public class AjaxViewRoot extends DelegatingViewRoot
This component is the key to rendering partial subtrees of the JSF component tree. It makes use of JSF 1.2's
UIComponent.invokeOnComponent(FacesContext, String, ContextCallback) method to execute the various phases of
the Lifecycle on each subtree.
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
AJAX_SOURCE_PARAM |
protected static java.lang.String |
FORM_RENDERED |
protected static java.lang.String |
PROCESS_ALL |
static java.lang.String |
PROCESS_IDS_PARAM |
| Constructor and Description |
|---|
AjaxViewRoot(javax.faces.component.UIViewRoot original) |
| Modifier and Type | Method and Description |
|---|---|
void |
encodeAll(javax.faces.context.FacesContext context) |
java.lang.String |
getId() |
protected java.lang.String[] |
getProcessIds() |
protected java.lang.String[] |
getRenderIds() |
void |
processApplication(javax.faces.context.FacesContext context) |
void |
processDecodes(javax.faces.context.FacesContext context) |
void |
processUpdates(javax.faces.context.FacesContext context) |
void |
processValidators(javax.faces.context.FacesContext context) |
void |
queueEvent(javax.faces.event.FacesEvent event) |
addPhaseListener, broadcast, createUniqueId, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAfterPhaseListener, getAttributes, getBeforePhaseListener, getChildCount, getChildren, getClientId, getContainerClientId, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getFamily, getLocale, getOriginalViewRoot, getParent, getRendererType, getRenderKitId, getRendersChildren, getValueBinding, getValueExpression, getViewId, invokeOnComponent, isRendered, isTransient, processRestoreState, processSaveState, removePhaseListener, restoreState, saveState, setAfterPhaseListener, setBeforePhaseListener, setId, setLocale, setParent, setRendered, setRendererType, setRenderKitId, setTransient, setValueBinding, setValueExpression, setViewIdaddComponentResource, addComponentResource, broadcastEvents, createUniqueId, getComponentResources, getPhaseListeners, getViewListenersForEventClass, getViewMap, getViewMap, isInView, removeComponentResource, removeComponentResource, resetValues, restoreViewScopeState, setInView, subscribeToViewEvent, unsubscribeFromViewEventaddClientBehavior, addFacesListener, clearInitialState, getClientBehaviors, getDefaultEventName, getEventNames, getFacesContext, getFacesListeners, getListenersForEventClass, getPassThroughAttributes, getRenderer, markInitialState, removeFacesListener, restoreAttachedState, saveAttachedState, subscribeToEvent, unsubscribeFromEventgetClientId, getCompositeComponentParent, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getPassThroughAttributes, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, initialStateMarked, isCompositeComponent, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, visitTreepublic static final java.lang.String AJAX_SOURCE_PARAM
public static final java.lang.String PROCESS_IDS_PARAM
protected static final java.lang.String FORM_RENDERED
protected static final java.lang.String PROCESS_ALL
public java.lang.String getId()
getId in class DelegatingViewRootUIComponentBase.getId()public void queueEvent(javax.faces.event.FacesEvent event)
queueEvent in class DelegatingViewRootUIViewRoot.queueEvent(javax.faces.event.FacesEvent)public void encodeAll(javax.faces.context.FacesContext context)
throws java.io.IOException
encodeAll in class DelegatingViewRootjava.io.IOExceptionUIComponent.encodeAll(javax.faces.context.FacesContext)public void processDecodes(javax.faces.context.FacesContext context)
processDecodes in class DelegatingViewRootUIViewRoot.processDecodes(javax.faces.context.FacesContext)public void processUpdates(javax.faces.context.FacesContext context)
processUpdates in class DelegatingViewRootUIViewRoot.processUpdates(javax.faces.context.FacesContext)public void processValidators(javax.faces.context.FacesContext context)
processValidators in class DelegatingViewRootUIViewRoot.processValidators(javax.faces.context.FacesContext)public void processApplication(javax.faces.context.FacesContext context)
processApplication in class DelegatingViewRootUIViewRoot.processApplication(javax.faces.context.FacesContext)protected java.lang.String[] getProcessIds()
protected java.lang.String[] getRenderIds()