PartialViewContext contains methods and properties that pertain to partial request processing and partial response rendering on a view.
The PartialViewContext instance is used to determine if the current request indicates the requirement to
perform partial processing and/or partial rendering. Partial processing is the processing
of selected components through the execute portion of the request processing lifecycle. Partial
rendering is the rendering of specified components in the Render Response Phase of the request
processing lifecycle.
| Modifier and Type | Field and Description |
|---|---|
| public static final String | ALL_PARTIAL_PHASE_CLIENT_IDS
The value that when used with |
| public static final String | PARTIAL_EVENT_PARAM_NAME
The request parameter name whose request parameter value identifies the type of partial event. |
| public static final String | PARTIAL_EXECUTE_PARAM_NAME
The request parameter name whose request parameter value is a |
| public static final String | PARTIAL_RENDER_PARAM_NAME
The request parameter name whose request parameter value is a |
| public static final String | RESET_VALUES_PARAM_NAME
If the request parameter named by the value of this constant has a parameter value of |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public abstract List | Returns: A mutableList of scripts to be evaluated in client side on complete of ajax request.
Returns a mutable |
| public abstract Collection | Returns: the ids for the execute portion of the lifecycle
Return a |
| public abstract PartialResponseWriter | Returns: theResponseWriter for output
Return the |
| public abstract Collection | Returns: the ids for the render portion of the lifecycle
Return a |
| public abstract boolean | Returns: whether or not this is an ajax request
Return |
| public abstract boolean | Returns: whether or not this is an execute all request
Return |
| public abstract boolean | Returns: whether or not this request is partial
Return |
| public abstract boolean | Returns: whether or not this is a render all request
Return |
| public boolean | Returns: whether or not this is a reset values request
Return |
| public abstract void | processPartial(PhaseId
the phaseId)jakarta.faces.event.PhaseId that indicates the lifecycle phase the components will be
processed in.
Perform lifecycle processing on components during the indicated |
| public abstract void | |
| public abstract void | setPartialRequest(boolean
the value isPartialRequest)true indicates this is a partial request.Dynamically indicate that this is a partial request. |
| public abstract void | setRenderAll(boolean
the value renderAll)true indicates the entire view must be rendered.
Indicate the entire view must be rendered if |
| ALL_PARTIAL_PHASE_CLIENT_IDS | back to summary |
|---|---|
| public static final String ALL_PARTIAL_PHASE_CLIENT_IDS
The value that when used with
| |
| PARTIAL_EVENT_PARAM_NAME | back to summary |
|---|---|
| public static final String PARTIAL_EVENT_PARAM_NAME The request parameter name whose request parameter value identifies the type of partial event.
| |
| PARTIAL_EXECUTE_PARAM_NAME | back to summary |
|---|---|
| public static final String PARTIAL_EXECUTE_PARAM_NAME
The request parameter name whose request parameter value is a
| |
| PARTIAL_RENDER_PARAM_NAME | back to summary |
|---|---|
| public static final String PARTIAL_RENDER_PARAM_NAME
The request parameter name whose request parameter value is a
| |
| RESET_VALUES_PARAM_NAME | back to summary |
|---|---|
| public static final String RESET_VALUES_PARAM_NAME
If the request parameter named by the value of this constant has a parameter value of
| |
| PartialViewContext | back to summary |
|---|---|
| public PartialViewContext() | |
| getEvalScripts | back to summary |
|---|---|
| public abstract List
Returns a mutable
| |
| getExecuteIds | back to summary |
|---|---|
| public abstract Collection
Return a
| |
| getPartialResponseWriter | back to summary |
|---|---|
| public abstract PartialResponseWriter getPartialResponseWriter()
Return the
| |
| getRenderIds | back to summary |
|---|---|
| public abstract Collection
Return a
| |
| isAjaxRequest | back to summary |
|---|---|
| public abstract boolean isAjaxRequest()
Return
| |
| isExecuteAll | back to summary |
|---|---|
| public abstract boolean isExecuteAll()
Return
| |
| isPartialRequest | back to summary |
|---|---|
| public abstract boolean isPartialRequest()
Return
| |
| isRenderAll | back to summary |
|---|---|
| public abstract boolean isRenderAll()
Return
| |
| isResetValues | back to summary |
|---|---|
| public boolean isResetValues()
Return
| |
| processPartial | back to summary |
|---|---|
| public abstract void processPartial(PhaseId phaseId)
Perform lifecycle processing on components during the indicated
When the indicated
| |
| release | back to summary |
|---|---|
| public abstract void release()
Release any resources associated with this
| |
| setPartialRequest | back to summary |
|---|---|
| public abstract void setPartialRequest(boolean isPartialRequest) Dynamically indicate that this is a partial request.
| |
| setRenderAll | back to summary |
|---|---|
| public abstract void setRenderAll(boolean renderAll)
Indicate the entire view must be rendered if
| |