开发者

primefaces use commandlink to hide one dialog and show another

开发者 https://www.devze.com 2023-02-18 13:02 出处:网络
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() metho

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

0

精彩评论

暂无评论...
验证码 换一张
取 消