开发者

JQuery to show the Primefaces's confirmDialog

How to 开发者_如何学JAVAuse JQuery to show the Primefaces's confirmDialog ?


The Primefaces dialogs have javascript convenience methods for showing and hiding.

// where dialog is the widgetVar of your Primefaces dialog.
dialog.show();
dialog.hide();

For many of the Primefaces components however you can access the underlying jQuery object by looking for a property jq.

component.jq.removeClass('exampleClass');

Above is an example.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜