The component library PrimeFaces Mobile does not contain com

UI Components for JSF
Post Reply
merl.crepsjr
Posts: 15
Joined: 23 Sep 2013, 02:59

21 Nov 2014, 04:44

Question... I have simple example and it will not work as it say The component library PrimeFaces Mobile does not contain component view. Can someone please tell me why.
I do have the required libraries i believe. I have primeface 5.1 and mobile .9.4 How can i correct this.

<f:view 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"
contentType="text/html"
renderKitId="PRIMEFACES_MOBILE">

<pm:page title="Home">
<f:facet name="postinit">
<style type="text/css">
.ui-header .ui-fullsize .ui-btn-inner, .ui-footer .ui-fullsize .ui-btn-inner{
font-size: 12px;
}
.ui-bar-a{
padding-bottom: 5px;
border-top-width: 5px;
}
</style>
</f:facet>
<pm:view id="main" >

</pm:view>
</pm:page>

smithh032772
Posts: 6144
Joined: 10 Sep 2011, 21:10

24 Nov 2014, 22:36

merl.crepsjr wrote:I do have the required libraries i believe. I have primeface 5.1 and mobile .9.4 How can i correct this.
remove primefaces mobile 0.9.4, because you don't need it.
Howard

PrimeFaces 6.0, Extensions 6.0.0, Push (Atmosphere 2.4.0)
TomEE+ 1.7.4 (Tomcat 7.0.68), MyFaces Core 2.2.9, JDK8
JUEL 2.2.7 | OmniFaces | EclipseLink-JPA/Derby | Chrome

Java EE 6 Tutorial|NetBeans|Google|Stackoverflow|PrimeFaces|Apache

kukeltje
Expert Member
Posts: 9605
Joined: 17 Jun 2010, 13:34
Location: Netherlands

08 Dec 2014, 19:43

and afaik, pm:view does not exist anymore

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 33 guests