| Modifier and Type | Class and Description |
|---|---|
| private static class | PartialViewContextImpl.DelayedInitPartialResponseWriter
Delays the actual construction of the PartialResponseWriter until content is going to actually be written. |
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private Boolean | |
| private FacesContext | |
| private List | |
| private List | |
| private static Logger | |
| private static final String | |
| private Boolean | |
| private PartialResponseWriter | |
| private boolean | |
| private Boolean | |
| private Collection |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| private void | |
| private PartialResponseWriter | |
| public List | getEvalScripts()
Implements abstract javax.
Returns a mutable |
| public Collection | getExecuteIds()
Implements abstract javax. Return a
|
| public PartialResponseWriter | getPartialResponseWriter()
Implements abstract javax. Return the |
| public Collection | getRenderIds()
Implements abstract javax. Return a
|
| public boolean | isAjaxRequest()
Implements abstract javax.
Return |
| public boolean | isExecuteAll()
Implements abstract javax.
Return |
| public boolean | isPartialRequest()
Implements abstract javax.
Return |
| public boolean | isRenderAll()
Implements abstract javax.
Return |
| public boolean | isResetValues()
Overrides javax. Return |
| private List | |
| private void | processComponents(UIComponent component, PhaseId phaseId, Collection<String> phaseClientIds, FacesContext context)
|
| public void | processPartial(PhaseId
the phaseId)javax.faces.event.PhaseId that indicates
the lifecycle phase the components will be processed in.Implements abstract javax. Perform lifecycle processing on components during the indicated
|
| public void | release()
Implements abstract javax. Release any
resources associated with this |
| private void | |
| private void | |
| private void | |
| private void | |
| public void | setPartialRequest(boolean
the value isPartialRequest)true indicates
this is a partial request.Implements abstract javax. Dynamically indicate that this is a partial request. |
| public void | setRenderAll(boolean
the value renderAll)true indicates
the entire view must be rendered.Implements abstract javax.
Indicate the entire view must be rendered if
|
| private static PartialVisitContext | Returns: the (unwrapped) partial visit context.the visit context. visitContext)Unwraps |
| ajaxRequest | back to summary |
|---|---|
| private Boolean ajaxRequest | |
| ctx | back to summary |
|---|---|
| private FacesContext ctx | |
| evalScripts | back to summary |
|---|---|
| private List<String> evalScripts | |
| executeIds | back to summary |
|---|---|
| private List<String> executeIds | |
| LOGGER | back to summary |
|---|---|
| private static Logger LOGGER | |
| ORIGINAL_WRITER | back to summary |
|---|---|
| private static final String ORIGINAL_WRITER | |
| partialRequest | back to summary |
|---|---|
| private Boolean partialRequest | |
| partialResponseWriter | back to summary |
|---|---|
| private PartialResponseWriter partialResponseWriter | |
| released | back to summary |
|---|---|
| private boolean released | |
| renderAll | back to summary |
|---|---|
| private Boolean renderAll | |
| renderIds | back to summary |
|---|---|
| private Collection<String> renderIds | |
| PartialViewContextImpl | back to summary |
|---|---|
| public PartialViewContextImpl(FacesContext ctx) | |
| assertNotReleased | back to summary |
|---|---|
| private void assertNotReleased() | |
| cleanupAfterView | back to summary |
|---|---|
| private void cleanupAfterView() | |
| createPartialResponseWriter | back to summary |
|---|---|
| private PartialResponseWriter createPartialResponseWriter() | |
| getEvalScripts | back to summary |
|---|---|
| public List Implements abstract javax. Doc from javax.
Returns a mutable
| |
| getExecuteIds | back to summary |
|---|---|
| public Collection Implements abstract javax. Doc from javax. Return a
| |
| getPartialResponseWriter | back to summary |
|---|---|
| public PartialResponseWriter getPartialResponseWriter() Implements abstract javax. Doc from javax. Return the
| |
| getRenderIds | back to summary |
|---|---|
| public Collection Implements abstract javax. Doc from javax. Return a
| |
| isAjaxRequest | back to summary |
|---|---|
| public boolean isAjaxRequest() Implements abstract javax. Doc from javax.
Return
| |
| isExecuteAll | back to summary |
|---|---|
| public boolean isExecuteAll() Implements abstract javax. Doc from javax.
Return
| |
| isPartialRequest | back to summary |
|---|---|
| public boolean isPartialRequest() Implements abstract javax. Doc from javax.
Return
| |
| isRenderAll | back to summary |
|---|---|
| public boolean isRenderAll() Implements abstract javax. Doc from javax.
Return
| |
| isResetValues | back to summary |
|---|---|
| public boolean isResetValues() Overrides javax. Doc from javax. Return
| |
| populatePhaseClientIds | back to summary |
|---|---|
| private List | |
| processComponents | back to summary |
|---|---|
| private void processComponents(UIComponent component, PhaseId phaseId, Collection<String> phaseClientIds, FacesContext context) throws IOException | |
| processPartial | back to summary |
|---|---|
| public void processPartial(PhaseId phaseId) Implements abstract javax. Doc from javax. Perform lifecycle processing on components during the indicated
When the indicated
| |
| release | back to summary |
|---|---|
| public void release() Implements abstract javax. Doc from javax. Release any
resources associated with this
| |
| renderAll | back to summary |
|---|---|
| private void renderAll(FacesContext context, UIViewRoot viewRoot) throws IOException | |
| renderComponentResources | back to summary |
|---|---|
| private void renderComponentResources(FacesContext context, UIViewRoot viewRoot) throws IOException | |
| renderEvalScripts | back to summary |
|---|---|
| private void renderEvalScripts(FacesContext context) throws IOException | |
| renderState | back to summary |
|---|---|
| private void renderState(FacesContext context) throws IOException | |
| setPartialRequest | back to summary |
|---|---|
| public void setPartialRequest(boolean isPartialRequest) Implements abstract javax. Doc from javax. Dynamically indicate that this is a partial request.
| |
| setRenderAll | back to summary |
|---|---|
| public void setRenderAll(boolean renderAll) Implements abstract javax. Doc from javax.
Indicate the entire view must be rendered if
| |
| unwrapPartialVisitContext | back to summary |
|---|---|
| private static PartialVisitContext unwrapPartialVisitContext(VisitContext visitContext) Unwraps
| |
| Modifier and Type | Field and Description |
|---|---|
| private PartialViewContextImpl | |
| private ResponseWriter |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public ResponseWriter | getWrapped()
Overrides javax. Implements javax. A class that implements this interface uses this method to return an instance of the class being wrapped. |
| public void |
| ctx | back to summary |
|---|---|
| private PartialViewContextImpl ctx | |
| writer | back to summary |
|---|---|
| private ResponseWriter writer | |
| DelayedInitPartialResponseWriter | back to summary |
|---|---|
| public DelayedInitPartialResponseWriter(PartialViewContextImpl ctx) | |
| getWrapped | back to summary |
|---|---|
| public ResponseWriter getWrapped() Overrides javax. Implements javax. Doc from javax. A class that implements this interface uses this method to return an instance of the class being wrapped.
| |
| write | back to summary |
|---|---|
| public void write(String text) throws IOException Overrides java. Doc from java. Writes a string.
| |
| Modifier and Type | Field and Description |
|---|---|
| private FacesContext | |
| private PhaseId |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public VisitResult | visit(VisitContext
the context, UIComponent VisitContext for this tree visit.the comp)UIComponent to visitImplements javax. This method is called during component tree visits by
|
| ctx | back to summary |
|---|---|
| private FacesContext ctx | |
| curPhase | back to summary |
|---|---|
| private PhaseId curPhase | |
| PhaseAwareVisitCallback | back to summary |
|---|---|
| private PhaseAwareVisitCallback(FacesContext ctx, PhaseId curPhase) | |
| visit | back to summary |
|---|---|
| public VisitResult visit(VisitContext context, UIComponent comp) Implements javax. Doc from javax. This method is called during component tree visits by
| |