117
Partial Tree Processing
RichFaces allows us to render partial tree by using RichFaces attributes. The execute attribute is used to specify that which part of the JSF tree to process during an Ajax request. The execute attribute can point to an id identifier of a specific component to process. Components can also be identified through the use of Expression Language (EL).
The execute attribute accepts the following keywords:
Keyword | Function |
---|---|
@all | It is used to processed every component. |
@none | It is used to set that no components are processed. |
@this | It is used to processed the requesting component with the execute attribute. |
@form | It is used to processed the form that contains the requesting component. |
@region | It is used to processed the region that contains the requesting component. You should use the <a4j:region> component as a wrapper element to specify regions. |
Partial Tree Processing Example
// index.xhtml
Next TopicRichFaces Partial View Updates