primefaces use commandlink to hide one dialog and show another
I would like to use a commandlink or something to hide the currently shown dialog and show another dial开发者_运维百科og. Anyone have a good way to accomplish this?
Just call the hide() and show() methods from p:commandLink.
<p:commandLink value="open-close" onclick="dlg1.hide();dlg2.show();" />
http://www.primefaces.org/showcase/ui/dialog.jsf
加载中,请稍侯......
精彩评论