| Package | Description |
|---|---|
| org.richfaces.component |
Base RichFaces components interfaces and classes
|
| org.richfaces.context |
RichFaces contexts
|
| Class and Description |
|---|
| ExtendedVisitContext |
| Class and Description |
|---|
BaseExtendedVisitContext
ExtendedVisitContext that allows track visit of implicitly processed subtrees and adds support for shortIds |
| BaseExtendedVisitContext.ClientIdTrackingStrategy
Allows to track what subtrees and shortIds were visited
|
| 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). |
| ExtendedVisitContext |
| ExtendedVisitContextMode
Denotes a current visit mode
|
Copyright © 2020 JBoss by Red Hat. All rights reserved.