如何在弹出式面板显示之前从backing bean调用方法?Richfaces弹出式面板
<h:commandButton value="Call the popup" action="#{bean.doSomething}" >
<rich:componentControl target="popup" operation="show" />
</h:commandButton>
<rich:popupPanel id="popup" modal="true" resizeable="true" onmaskclick="#{rich:component('popup')}.hide()">
...
</rich:popupPanel>
在这种情况下doSomething的()方法不调用。
它的工作原理,谢谢:) – 2012-03-18 10:36:31
我可能会补充说,如果你想重新渲染弹出窗口的内容(例如延迟加载数据),你会想要在a4j上粘贴一个渲染属性:commandButton标签。 – 2013-05-31 16:02:58