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, setViewId
addComponentResource, addComponentResource, broadcastEvents, createUniqueId, getComponentResources, getPhaseListeners, getViewListenersForEventClass, getViewMap, getViewMap, isInView, removeComponentResource, removeComponentResource, resetValues, restoreViewScopeState, setInView, subscribeToViewEvent, unsubscribeFromViewEvent
addClientBehavior, addFacesListener, clearInitialState, getClientBehaviors, getDefaultEventName, getEventNames, getFacesContext, getFacesListeners, getListenersForEventClass, getPassThroughAttributes, getRenderer, markInitialState, removeFacesListener, restoreAttachedState, saveAttachedState, subscribeToEvent, unsubscribeFromEvent
getClientId, getCompositeComponentParent, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getPassThroughAttributes, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, initialStateMarked, isCompositeComponent, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, visitTree
public 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 DelegatingViewRoot
UIComponentBase.getId()
public void queueEvent(javax.faces.event.FacesEvent event)
queueEvent
in class DelegatingViewRoot
UIViewRoot.queueEvent(javax.faces.event.FacesEvent)
public void encodeAll(javax.faces.context.FacesContext context) throws java.io.IOException
encodeAll
in class DelegatingViewRoot
java.io.IOException
UIComponent.encodeAll(javax.faces.context.FacesContext)
public void processDecodes(javax.faces.context.FacesContext context)
processDecodes
in class DelegatingViewRoot
UIViewRoot.processDecodes(javax.faces.context.FacesContext)
public void processUpdates(javax.faces.context.FacesContext context)
processUpdates
in class DelegatingViewRoot
UIViewRoot.processUpdates(javax.faces.context.FacesContext)
public void processValidators(javax.faces.context.FacesContext context)
processValidators
in class DelegatingViewRoot
UIViewRoot.processValidators(javax.faces.context.FacesContext)
public void processApplication(javax.faces.context.FacesContext context)
processApplication
in class DelegatingViewRoot
UIViewRoot.processApplication(javax.faces.context.FacesContext)
protected java.lang.String[] getProcessIds()
protected java.lang.String[] getRenderIds()