📜  RichFaces部分树处理

📅  最后修改于: 2021-01-08 12:14:07             🧑  作者: Mango

部分树处理

RichFaces允许我们使用RichFaces属性来渲染部分树。 execute属性用于指定在Ajax请求期间要处理JSF树的哪一部分。 execute属性可以指向要处理的特定组件的ID标识符。也可以通过使用表达语言(EL)来识别组件。

execute属性接受以下关键字:

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 component as a wrapper element to specify regions.

部分树处理示例

// index.xhtml