previously I was working with primefaces Primefaces 4.0 and Primefaces Mobile 1.0-SNAPSHOT,
I was able to navigate between pages in diferent xhtml files with ajax and transitions using pm:<page>?lazyLoad=true or #<page>?lazyLoad=true.
Code: Select all
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:p="http://primefaces.org/ui"
xmlns:pm="http://primefaces.org/mobile"
template="/templates/ui-mobile.xhtml">
<ui:define name="header">
<f:facet name="right">
<p:button value="Inicio" iconPos="notext" icon="info" href="#/mobile/menu?lazyLoad=true"/>
</f:facet>
</ui:define>
<ui:define name="content">
</ui:define>
<ui:define name="footer">
<h:form>
<p:commandButton icon="arrow-r" iconPos="right" value="Next" action="pm:register?lazyLoad=true"/>
</h:form>
</ui:define>
</ui:composition>
Now I migrate to Primefaces 5.0 and I'm trying to do the same, but I can't do ajax navigations with transitions between different xhtml pages, if I put all pages in the same xhtml file it works, but otherwise I can't get it work with ajax and transitions.
How can I do this?
thanks