开发者

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

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜