<context-param>
<param-name>primefaces.THEME</param-name>
<param-value>afterdark</param-value>
</context-param>
<html 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:ui="http://java.sun.com/jsf/facelets"
xmlns:pm="http://primefaces.org/mobile">
<f:view renderKitId="PRIMEFACES_MOBILE" />
<h:form>
<h:body>
<pm:page id="first" swatch="a">
Above is a section of code from a web page. As you can see the web.xml specifies afterdark and i am using swatch "a".
Is this totally wrong or is something not working with themes is primfaces 5.x which is supposed to include primefaces mobile.
Theme do not work in primefaces 5.x
-
- Posts: 15
- Joined: 23 Sep 2013, 02:59
Note I am using the primefaces.mobile.THEME and the jar is in the classpath. Do theme even work with primefaces mobile
seems like lots of people are having difficult time of this. In primefaces 3.5 worked extremely easy now it is extremely difficult
Any help is truly appreciated
seems like lots of people are having difficult time of this. In primefaces 3.5 worked extremely easy now it is extremely difficult
Any help is truly appreciated
Sorry, but this is a plain wrong advice. Please substantiate...????
Hello,
we have a liferay portlet application over cdi, jsf and primefaces 4.0 working well and want to test new primefaces version 5.0 or 5.1.
After changing version 4 to 5 any view is not rendered and have errors of type:
javax.portlet.faces.BridgeException: java.lang.IllegalStateException: CDATA tags may not nest
at com.liferay.faces.bridge.BridgePhaseResourceImpl.execute(BridgePhaseResourceImpl.java:128)
...
our actual versions are:
<liferay.version>6.1.2</liferay.version>
<com.liferay.cdi.version>6.2.0.2</com.liferay.cdi.version>
<com.liferay.portal.version>6.1.2</com.liferay.portal.version>
<com.liferay.faces.version>3.1.4-ga5</com.liferay.faces.version>
<com.sun.faces.version>2.1.21</com.sun.faces.version>
What needs to change to migrate ?
Thanks in advance.
we have a liferay portlet application over cdi, jsf and primefaces 4.0 working well and want to test new primefaces version 5.0 or 5.1.
After changing version 4 to 5 any view is not rendered and have errors of type:
javax.portlet.faces.BridgeException: java.lang.IllegalStateException: CDATA tags may not nest
at com.liferay.faces.bridge.BridgePhaseResourceImpl.execute(BridgePhaseResourceImpl.java:128)
...
our actual versions are:
<liferay.version>6.1.2</liferay.version>
<com.liferay.cdi.version>6.2.0.2</com.liferay.cdi.version>
<com.liferay.portal.version>6.1.2</com.liferay.portal.version>
<com.liferay.faces.version>3.1.4-ga5</com.liferay.faces.version>
<com.sun.faces.version>2.1.21</com.sun.faces.version>
What needs to change to migrate ?
Thanks in advance.
Maven's default repository is "maven central". There are a lot of artifacts in there, but some vendors may not have put their artifacts there and primefaces is one of them. Maven will look for the jar in maven central and won't find it. If you don't specify that it should also look in the Primefaces Maven Repository (which does have the artifact), it can't find the artifact.
-
- Posts: 4
- Joined: 30 Apr 2016, 07:14
- Location: Viet Nam
- Contact:
This theme may have made some basic errors that
-
- Information
-
Who is online
Users browsing this forum: No registered users and 24 guests