你好我有更新的问题,我有一些复合组件嵌套在少数组件中,我想更新其中的一些,什么是正确的方法?第二我可以更新div吗?Primefaces更新
代码示例:
<div id="outer">
<p:commandButton id="button"/>
<div id="inner">
<h:form id="form">
<mycomponents:test whatToUpdate="form panel button outer label">//here problem
</h:form>
</div>
</div>
<div id="outer2">
<h:form id="form">
<p:panelGroup id="panel">
<p:label id="label" value="value"/>
</p:panelGroup>
</h:form>
</div>
当然,但我有问题如何调用组件 “窗体面板按钮外部标签”,因为不是所有都可以从视图 – user2771738
第二我不能更新divs?我有问题,因为当我把div id更新时,我总是有堆栈跟踪 – user2771738