Icons not displayed with custom theme

UI Components for JSF
Post Reply
yodhevauhe
Posts: 6
Joined: 07 Jan 2011, 19:58

08 Jan 2011, 20:31

I have seen the same question asked many times in the forum but none of the solution works for me.

In web.xml I have set 'primefaces.SKIN' to 'none'
Downloaded and placed the theme in \war\resources\redmond

and in head section i have

Code: Select all

<link type="text/css" rel="stylesheet" href="#{request.contextPath}/resources/redmond/skin.css"/>
and i get this exception

Code: Select all

Jan 8, 2011 5:53:51 PM com.google.apphosting.utils.jetty.JettyLogger warn
WARNING: /resources/redmond/skin.css/
java.lang.IllegalStateException: STREAM
	at org.mortbay.jetty.Response.getWriter(Response.java:616)
	at javax.servlet.ServletResponseWrapper.getWriter(ServletResponseWrapper.java:112)
But with this
<h:outputStylesheet name="#{request.contextPath}/redmond/skin.css"/>

theme is working,but Icons are not displayed and it lacks glossy look.
I am using Primefaces 2.2RC2,google chrome,jsf 2.0,GAE

yodhevauhe
Posts: 6
Joined: 07 Jan 2011, 19:58

17 Jan 2011, 15:47

I created a new project,copied all files to it,upgraded to myfaces 2.0.3 and now its working.

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

17 Jan 2011, 16:06

Good to hear!

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 46 guests