Implement PrimeFaces on HTML UI in a native app

UI Components for JSF
Post Reply
fernando.alvarez
Posts: 1
Joined: 29 Aug 2014, 23:19

29 Aug 2014, 23:34

Hi, in our portal they've implemented Primefaces, and now the portal team suggest to use it in the mobile app.
We've built a native application that loads HTML + JS UI using a webview. Today I've downloaded primefaces-4.0.jar added it to libs directory, and changed the first HTML to XHTML and copy paste several samples from showcase but none rendered controls it only shows plain text. There's any extra step to setup Primefaces other than put the jar in the library and include in the HTML tag: 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".
Thanks for your help.

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

02 Sep 2014, 16:22

please download primefaces 5.0 jar and user guide, and refer to primefaces mobile section in the primefaces 5.0 user guide.
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

03 Sep 2014, 17:54

You can't use PrimeFaces in a native app...

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 32 guests