【发布时间】:2020-09-14 19:52:04
【问题描述】:
我有以下代码,它们的作用相同:
-
选项1:
-
选项2
<h:form> <o:socket channel="notificationChannel" scope="session"> <f:ajax event="notificationLoadScript" listener="#{topbarMenuController.loadNotification()}" render=":notificationLink" disabled="true"/> </o:socket>
代码运行良好,但我的问题是我有一个 Primefaces ajaxStatus 对话框,它将被调用....
<p:ajaxStatus onstart="PF('statusDialog').show()"
onsuccess="PF('statusDialog').hide()">
是否有可能在 非常感谢您的帮助
【问题讨论】:
标签: jsf primefaces omnifaces