| Interface | Description |
|---|---|
| BaseExtendedVisitContext.ClientIdTrackingStrategy |
Allows to track what subtrees and shortIds were visited
|
| Class | Description |
|---|---|
| AjaxOutputTracker |
Tracker that tracks all
AjaxOutput components in the component tree and that can retrieve tracked AjaxOutputs
in O(n) where "n" is depth of the tree. |
| BaseExtendedVisitContext |
ExtendedVisitContext that allows track visit of implicitly processed subtrees and adds support for shortIds |
| ComponentIdResolver | |
| ExtendedExecuteVisitContext |
Wraps parent
VisitContext and executes MetaComponentProcessingVisitCallback during its
ExtendedExecuteVisitContext.invokeVisitCallback(UIComponent, VisitCallback) method. |
| ExtendedPartialViewContext |
The RichFaces custom version of PartialViewContext
Important differences of RichFaces implementation:
Values are resolved in runtime by visiting the request activator component and evaluating attributes
Usage of extended visit contexts in order to support meta-components processing
Support for auto-updateable Ajax components
Support for Ajax extensions like passing data to the client, onbeforedomupdate and oncomplete callbacks and
JavaScriptService
Extended Partial View Processing Scheme
On following diagram, you can see which classes contributes to RichFaces specific partial view processing (find an explanation bellow):
+-------------------------+ RF: ExtendedPartialViewContextFactory
|PartialViewContextFactory|
+------------+------------+ +------------------------+
| | PartialViewContext | Mojarra: PartialViewContextImpl
+--------------->| | RF: ExtendedPartialViewContext
creates |#processPartial(PhaseId)|
+--+-------------+-------+
| |
RF: ExtendedVisitContextFactory | |
+-------------------+ | |
|VisitContextFactory| | |
+--------------+----+ uses | |creates/uses
| | |
creates | | |
v v v
+----------------------------+ +---------------------------+
| VisitContext | | VisitCallback |
| | | |
| #invokeVisitContext | | #visit |
|(UIComponent, VisitCallback)| |(VisitContext, UIComponent)|
+----------------------------+ +---------------------------+
Mojarra: PhaseAwareVisitCallback
RF: ExtendedExecuteVisitContext RF: MetaComponentProcessingVisitCallback
RF: ExtendedRenderVisitContext RF: MetaComponentEncodingVisitCallback
+-----------------------------+
| UIViewRoot |
| |
| #visitTree |
|(VisitContext, VisitCallback)|
+-----------------------------+
ExtendedPartialViewContext does (except other things) tracking of the mode (ExtendedVisitContextMode). |
| ExtendedPartialViewContextFactory | |
| ExtendedRenderVisitContext |
Wraps parent
VisitContext and executes following operations:
makes sure implicit rendering areas (AjaxOutputs) are also visited
executes MetaComponentEncodingVisitCallback during ExtendedRenderVisitContext.invokeVisitCallback(UIComponent, VisitCallback) method. |
| ExtendedVisitContext | |
| ExtendedVisitContextFactory | |
| FullVisitContext |
A VisitContext used to visit all children and trees.
|
| OnOffResponseWriter | |
| PartialResponseWriterWrapper |
Wraps
PartialResponseWriter and delegates all calls to wrapped writer by default. |
| SkinningExternalContextFactory |
| Enum | Description |
|---|---|
| ExtendedVisitContextMode |
Denotes a current visit mode
|
Copyright © 2019 JBoss by Red Hat. All Rights Reserved.