This is a dead-simple code snippet (doesn't require any beans) easily reproducible on PrimeFaces 5.1.13 @ Mojarra 2.2.10.
Could you please take a look for the next release? (If someone knows what could be triggering this post too
thanks&greetings
Code: Select all
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:h="http://xmlns.jcp.org/jsf/html" xmlns:f="http://xmlns.jcp.org/jsf/core"
xmlns:p="http://primefaces.org/ui" xmlns:pm="http://primefaces.org/mobile" xmlns:ui="http://xmlns.jcp.org/jsf/facelets">
<f:view contentType="text/html" renderKitId="PRIMEFACES_MOBILE" />
<h:head>
<title>MobileTestPage</title>
</h:head>
<h:body>
<pm:page>
<pm:header fixed="true">
<h:form id="headerForm">
fheader
</h:form>
</pm:header>
<pm:content style="padding: 0px;">
<p:tabView activeIndex="0" cache="false" dynamic="true">
<p:tab title="tab1">
<h:panelGroup layout="block" style="text-align: center;">
tab1content
</h:panelGroup>
</p:tab>
<p:tab title="tab2">
<h:panelGroup layout="block" style="text-align: center;">
tab2content
</h:panelGroup>
</p:tab>
</p:tabView>
</pm:content>
<pm:footer fixed="true">
<h:form>
footer
</h:form>
</pm:footer>
</pm:page>
</h:body>
</html>