I can't seem to get this pesky <pm:commandButton> to behave. Essentially, it's not calling either the action method or actionListener of my backing bean. I've even stripped out all the form fields leaving the following code:
Code: Select all
<f:view xmlns="http://www.w3.org/1999/xhtml"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:p="http://primefaces.prime.com.tr/ui"
xmlns:pm="http://primefaces.prime.com.tr/mobile"
contentType="text/html">
<pm:page title="Child Details" >#{babyPageBean.m}
<pm:view id="main" >
<pm:header title="#{babyPageBean.businessObject.label}">
<f:facet name="left"><pm:button value="Back" icon="back" role="back"/></f:facet>
</pm:header>
<pm:content>
<h:form>
<pm:commandButton id="_btnSave" action="#{babyPageBean.save}"
actionListener="#{babyPageBean.doSave}" value="Save" icon="check" swatch="e" ajax="false"/>
</h:form>
</pm:content>
</pm:view>
</pm:page>
</f:view>
Anyone else using Primefaces Mobile and experiencing this kind of squirrly behavior? Thanks