public class ExtendedRenderVisitContext extends BaseExtendedVisitContext
Wraps parent VisitContext
and executes following operations:
AjaxOutput
s) are also visited
MetaComponentEncodingVisitCallback
during invokeVisitCallback(UIComponent, VisitCallback)
method.BaseExtendedVisitContext.ClientIdTrackingStrategy
addNode, removeNode
META_COMPONENT_ID
Constructor and Description |
---|
ExtendedRenderVisitContext(javax.faces.component.visit.VisitContext visitContextToWrap,
javax.faces.context.FacesContext facesContext,
Collection<String> clientIds,
Set<javax.faces.component.visit.VisitHint> hints,
boolean limitRender) |
Modifier and Type | Method and Description |
---|---|
protected void |
addDirectSubtreeIdsToVisitForImplicitComponents(javax.faces.component.UIComponent component,
Set<String> result)
Allows to add subtrees that contains implicit components to list IDs to visit
|
protected boolean |
hasImplicitSubtreeIdsToVisit(javax.faces.component.UIComponent component)
Return true whether this
VisitContext allows to visit implicit IDs |
javax.faces.component.visit.VisitResult |
invokeVisitCallback(javax.faces.component.UIComponent component,
javax.faces.component.visit.VisitCallback callbackToWrap)
Instead of execution of
VisitCallback directly, we use MetaComponentEncodingVisitCallback that executes
additional logic for meta-component encoding. |
protected javax.faces.component.visit.VisitResult |
invokeVisitCallbackForImplicitComponent(javax.faces.component.UIComponent component,
javax.faces.component.visit.VisitCallback callback) |
static boolean |
isExtendedRenderVisitContext(javax.faces.component.visit.VisitContext visitContext)
Determine if the VisitContext is, or wraps, the RenderExtendedVisitContext
|
protected boolean |
shouldCompleteOnEmptyIds() |
createNamingContainerVisitContext, getDirectSubtreeIdsToVisit, getIdsToVisit, getSubtreeIdsToVisit, visitClientId
buildExtendedClientId, buildExtendedComponentId, getFacesContext, getVisitMode, getWrapped, invokeMetaComponentVisitCallback
public ExtendedRenderVisitContext(javax.faces.component.visit.VisitContext visitContextToWrap, javax.faces.context.FacesContext facesContext, Collection<String> clientIds, Set<javax.faces.component.visit.VisitHint> hints, boolean limitRender)
public javax.faces.component.visit.VisitResult invokeVisitCallback(javax.faces.component.UIComponent component, javax.faces.component.visit.VisitCallback callbackToWrap)
VisitCallback
directly, we use MetaComponentEncodingVisitCallback
that executes
additional logic for meta-component encoding.invokeVisitCallback
in class BaseExtendedVisitContext
VisitContext.invokeVisitCallback()
protected boolean hasImplicitSubtreeIdsToVisit(javax.faces.component.UIComponent component)
BaseExtendedVisitContext
VisitContext
allows to visit implicit IDshasImplicitSubtreeIdsToVisit
in class BaseExtendedVisitContext
protected void addDirectSubtreeIdsToVisitForImplicitComponents(javax.faces.component.UIComponent component, Set<String> result)
BaseExtendedVisitContext
addDirectSubtreeIdsToVisitForImplicitComponents
in class BaseExtendedVisitContext
protected javax.faces.component.visit.VisitResult invokeVisitCallbackForImplicitComponent(javax.faces.component.UIComponent component, javax.faces.component.visit.VisitCallback callback)
invokeVisitCallbackForImplicitComponent
in class BaseExtendedVisitContext
protected boolean shouldCompleteOnEmptyIds()
shouldCompleteOnEmptyIds
in class BaseExtendedVisitContext
public static boolean isExtendedRenderVisitContext(javax.faces.component.visit.VisitContext visitContext)
visitContext
- The VisitContext of the component tree visit.Copyright © 2014 JBoss by Red Hat. All Rights Reserved.