【发布时间】:2012-11-22 10:03:18
【问题描述】:
这是我的问题的简化版本。
<h:form id="form1">
<a4j:commandButton value="Ok" reRender="panel_1"/>
<a4j:outputPanel id="panel_1" layout="block" style="height:100px;border:solid 1px;">
Content here should be reRendered
<a4j:outputPanel id="panel_2" layout="block" style="height:50px;border:solid green;color:green;">
Content here should not be reRendered
</a4j:outputPanel>
</a4j:outputPanel>
</h:form>
当用户单击<a4j:commandButton> 时,应重新渲染第一个<a4j:outputPanel> (panel_1)。但是第二个<a4j:outputPanel> 里面的内容不应该被重新渲染。
这可能吗? (至少通过将<a4j:outputPanel> 更改为另一个组件。)
【问题讨论】:
标签: richfaces jsf-1.2 ajax4jsf