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.
Implement PrimeFaces on HTML UI in a native app
-
- Posts: 6144
- Joined: 10 Sep 2011, 21:10
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
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
-
- Information
-
Who is online
Users browsing this forum: No registered users and 37 guests