Dialog close event not working in mobile pages

UI Components for JSF
Post Reply
wfadel
Posts: 1
Joined: 23 Feb 2015, 18:43

05 Apr 2015, 16:48

Hello All,

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" />
...
and an excerpt of my dialog code is

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
	}
...

}
When I remove the renderKitId view, the dialog ajax close event works properly.

Any clue or suggestion?

Thanks

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: Google [Bot] and 32 guests