【发布时间】:2012-05-01 09:48:00
【问题描述】:
使用 JSF2 和 Richfaces 4。
我的表单中有两个区域,其中包含多个区域。我想为另一个区域调用渲染。我该怎么做?
<h:form>
<a4j:region id="rg_1">
<h:inputText id="field1" value="#{bean.field1}"/>
</a4j:region>
<a4j:region id="rg_2">
<a4j:commandLink action="#{mybean.resetBean} render="region1" />
</a4j:region>
</h:form>
【问题讨论】: