Provides a simple implementation of
PartialViewContext that can be subclassed by developers wishing to provide specialized behavior to an
existing PartialViewContext instance. The default implementation of all methods is to call through to the
wrapped ExternalContext instance.
Usage: extend this class and push the implementation being wrapped to the constructor and use getWrapped to
access the instance being wrapped.
| Modifier and Type | Field and Description |
|---|---|
| private PartialViewContext |
| Access | Constructor and Description |
|---|---|
| public | PartialViewContextWrapper()
Deprecated
Use the other constructor taking the implementation being wrapped.
|
| public | PartialViewContextWrapper(PartialViewContext
The implementation being wrapped. wrapped)If this partial view context has been decorated, the implementation doing the decorating should push the implementation being wrapped to this constructor. |
| Modifier and Type | Method and Description |
|---|---|
| public List | getEvalScripts()
Implements abstract jakarta.
The default behavior of this method is to call |
| public Collection | getExecuteIds()
Implements abstract jakarta.
The default behavior of this method is to call |
| public PartialResponseWriter | getPartialResponseWriter()
Implements abstract jakarta.
The default behavior of this method is to call |
| public Collection | getRenderIds()
Implements abstract jakarta.
The default behavior of this method is to call |
| public PartialViewContext | getWrapped()
Implements jakarta. A class that implements this interface uses this method to return an instance of the class being wrapped. |
| public boolean | isAjaxRequest()
Implements abstract jakarta.
The default behavior of this method is to call |
| public boolean | isExecuteAll()
Implements abstract jakarta.
The default behavior of this method is to call |
| public boolean | isPartialRequest()
Implements abstract jakarta.
The default behavior of this method is to call |
| public boolean | isRenderAll()
Implements abstract jakarta.
The default behavior of this method is to call |
| public boolean | isResetValues()
Overrides jakarta.
The default behavior of this method is to call |
| public void | processPartial(PhaseId
the phaseId)jakarta.faces.event.PhaseId that indicates the lifecycle phase the components will be
processed in.Implements abstract jakarta.
The default behavior of this method is to call |
| public void | release()
Implements abstract jakarta.
The default behavior of this method is to call |
| public void | setPartialRequest(boolean
the value isPartialRequest)true indicates this is a partial request.Implements abstract jakarta.
The default behavior of this method is to call |
| public void | setRenderAll(boolean
the value renderAll)true indicates the entire view must be rendered.Implements abstract jakarta.
The default behavior of this method is to call |
| wrapped | back to summary |
|---|---|
| private PartialViewContext wrapped | |
| PartialViewContextWrapper | back to summary |
|---|---|
| public PartialViewContextWrapper()
Deprecated Use the other constructor taking the implementation being wrapped.
| |
| PartialViewContextWrapper | back to summary |
|---|---|
| public PartialViewContextWrapper(PartialViewContext wrapped)
If this partial view context has been decorated, the implementation doing the decorating should push the
implementation being wrapped to this constructor. The
| |
| getEvalScripts | back to summary |
|---|---|
| public List Implements abstract jakarta.
The default behavior of this method is to call
| |
| getExecuteIds | back to summary |
|---|---|
| public Collection Implements abstract jakarta.
The default behavior of this method is to call
| |
| getPartialResponseWriter | back to summary |
|---|---|
| public PartialResponseWriter getPartialResponseWriter() Implements abstract jakarta.
The default behavior of this method is to call
| |
| getRenderIds | back to summary |
|---|---|
| public Collection Implements abstract jakarta.
The default behavior of this method is to call
| |
| getWrapped | back to summary |
|---|---|
| public PartialViewContext getWrapped() Implements jakarta. Doc from jakarta. A class that implements this interface uses this method to return an instance of the class being wrapped.
| |
| isAjaxRequest | back to summary |
|---|---|
| public boolean isAjaxRequest() Implements abstract jakarta.
The default behavior of this method is to call
| |
| isExecuteAll | back to summary |
|---|---|
| public boolean isExecuteAll() Implements abstract jakarta.
The default behavior of this method is to call
| |
| isPartialRequest | back to summary |
|---|---|
| public boolean isPartialRequest() Implements abstract jakarta.
The default behavior of this method is to call
| |
| isRenderAll | back to summary |
|---|---|
| public boolean isRenderAll() Implements abstract jakarta.
The default behavior of this method is to call
| |
| isResetValues | back to summary |
|---|---|
| public boolean isResetValues() Overrides jakarta.
The default behavior of this method is to call
| |
| processPartial | back to summary |
|---|---|
| public void processPartial(PhaseId phaseId) Implements abstract jakarta.
The default behavior of this method is to call
| |
| release | back to summary |
|---|---|
| public void release() Implements abstract jakarta.
The default behavior of this method is to call
| |
| setPartialRequest | back to summary |
|---|---|
| public void setPartialRequest(boolean isPartialRequest) Implements abstract jakarta.
The default behavior of this method is to call
| |
| setRenderAll | back to summary |
|---|---|
| public void setRenderAll(boolean renderAll) Implements abstract jakarta.
The default behavior of this method is to call
| |