I'm trying to use PrimeFaces mobile im my project, here is the codes:
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:p="http://primefaces.org/ui"
xmlns:pm="http://primefaces.org/mobile"
renderKitId="PRIMEFACES_MOBILE">
<pm:page title="Title">
<pm:view id="testID" >
<p:outputPanel id="Panel">
<h:form id="Form">
<pm:content>
content......
</pm:content>
</h:form>
</p:outputPanel>
</pm:view>
</pm:page>
</f:view>
if i remove "renderKitId="PRIMEFACES_MOBILE"", then it can display "content....", why ? anything is wrong with me?
I am using:
Tomcat 7.0.47 ,Primefacees 4.0, java faces 2.2, primefaces mobile 1.0.0 snapshot
Please help me!