Various transition animations are supported during navigation between pages. Please note that some transitions may not be supported in some platforms and fade is used as a fallback.
Source
<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:h="http://java.sun.com/jsf/html" xmlns:f="http://java.sun.com/jsf/core" xmlns:p="http://primefaces.org/ui" xmlns:pm="http://primefaces.org/mobile"> <f:view renderKitId="PRIMEFACES_MOBILE" /> <h:head> <style type="text/css"> .ui-grid-a div { padding: 0em 0.5em; } </style> </h:head> <h:body> <pm:page id="first"> <pm:header title="Transition" swatch="b"></pm:header> <pm:content> <p>Various transition animations are supported during navigation between pages. Please note that some transitions may not be supported in some platforms and fade is used as a fallback.</p> <p:panelGrid columns="2"> <p:button outcome="pm:second?transition=fade" value="Fade" /> <p:button outcome="pm:second?transition=pop" value="Pop" /> <p:button outcome="pm:second?transition=flip" value="Flip" /> <p:button outcome="pm:second?transition=turn" value="Turn" /> <p:button outcome="pm:second?transition=flow" value="Flow" /> <p:button outcome="pm:second?transition=slidefade" value="SlideFade" /> <p:button outcome="pm:second?transition=slide" value="Slide" /> <p:button outcome="pm:second?transition=slideup" value="Slideup" /> <p:button outcome="pm:second?transition=slidedown" value="Slidedown" /> <p:button outcome="pm:second?transition=none" value="None" /> </p:panelGrid> </pm:content> </pm:page> <pm:page id="second"> <pm:header title="Transition" swatch="b"> <p:button outcome="pm:first" value="Back" icon="ui-icon-arrow-l" styleClass="ui-toolbar-header-button-left ui-button-inline"/> </pm:header> <pm:content> <h1>Target Page</h1> </pm:content> </pm:page> </h:body> </html>