Problem with theme

UI Components for JSF
Post Reply
User avatar
Jreguil
Posts: 4
Joined: 01 Mar 2011, 11:03

18 May 2011, 10:49

Hello I've been trying to install a theme (ui-lightness).
I followed the steps at the web http://www.primefaces.org/themes.html but does not work, I get the following error:

Code: Select all

javax.servlet.ServletException: Error loading theme, cannot find "theme.css" resource of "primefaces-ui-lightness" library
	javax.faces.webapp.FacesServlet.service(FacesServlet.java:325)
	org.primefaces.webapp.filter.FileUploadFilter.doFilter(FileUploadFilter.java:79)
I download the theme from the web, add it to the classpath and add the lines in web.xml

Code: Select all

  <context-param>
        <param-name>primefaces.THEME</param-name>
        <param-value>ui-lightness</param-value>
    </context-param>
What is wrong?

Thanks

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

18 May 2011, 12:04

Seems fine, maybe a deployment problem? Please double check if theme jar is in classpath.

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

18 May 2011, 12:04

Also try with other themes.

User avatar
Jreguil
Posts: 4
Joined: 01 Mar 2011, 11:03

18 May 2011, 12:14

Seems fine, maybe a deployment problem? Please double check if theme jar is in classpath.
Thanks i tried that and it works fine.

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

18 May 2011, 12:14

Cool!

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 16 guests