I'm not sure if this is a known issue, but when I set the view renderKitId to PRIMEFACES_MBILE, the dialog ajax events stop working.
So my dialog is inside a mobile page that has the following:
Code: Select all
...
<f:view renderKitId="PRIMEFACES_MOBILE" />
...
Code: Select all
<h:form id="formLogin">
<p:growl id="growl" showDetail="true" autoUpdate="true" closable="true"
severity="info,error" />
<p:dialog header="#{msgs['login']}" widgetVar="dlgLogin"
showEffect="pop">
<p:ajax event="close" listener="#{loginBean.handleClose}" />
...
</p:dialog>
</h:form>
class LoginBean {
...
public void handleClose(CloseEvent event) {
// do some work
}
...
}
Any clue or suggestion?
Thanks