Hi Team,
I'm having an issue loading the astro theme in primefaces 2.2.1 on weblogic 10.3.4 from netbeans 7.0. The weblogic log reports the following:-
WARNING: JSF1064: Unable to find or serve resource, theme.css, from library, primefaces-aristo.
01-May-2011 11:43:14 com.sun.faces.application.view.FaceletViewHandlingStrategy handleRenderException
SEVERE: Error Rendering View[/index.xhtml]
javax.faces.FacesException: Error loading theme, cannot find "theme.css" resource of "primefaces-aristo" library
at org.primefaces.renderkit.HeadRenderer.encodeTheme(HeadRenderer.java:114)
at org.primefaces.renderkit.HeadRenderer.encodeBegin(HeadRenderer.java:71)
I have placed the following in the web.xml:-
<context-param>
<param-name>primefaces.THEME</param-name>
<param-value>aristo</param-value>
</context-param>
and the placed the aristo-1.0.1.zip in the class path, as a library.
I would be most grateful if you could assist
Many thanks
Callum
URGENT Theme.css cannot be found - Primefaces 2.2.1
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
Weird, it works fine for me on jetty/tomcat.
@bolsover, do you use weblogic as well?
@bolsover, do you use weblogic as well?
No - I'm using Glassfish 3.1.
The odd thing for me is that it was working OK until I deleted the original Netbeans supplied primefaces library and installed a newly downloaded version with all the sourcecode and a couple of theme libraries. It could be some anomaly with the way Netbeans evaluates the classpath.
The odd thing for me is that it was working OK until I deleted the original Netbeans supplied primefaces library and installed a newly downloaded version with all the sourcecode and a couple of theme libraries. It could be some anomaly with the way Netbeans evaluates the classpath.
it works fine in Glassfish3.1 - netbeans6.9.1 after adding aristio-1.0.1.jar as library
i've use primefaces.skin instead of primfaces.THEME als param-name
<context-param>
<param-name>primefaces.skin</param-name>
<param-value>aristo</param-value>
</context-param>
i've use primefaces.skin instead of primfaces.THEME als param-name
<context-param>
<param-name>primefaces.skin</param-name>
<param-value>aristo</param-value>
</context-param>
-
- Information
-
Who is online
Users browsing this forum: No registered users and 35 guests