Richfaces 4 custom skin
bvi Jun 23, 2011 4:56 AMHi, I notice an error when trying to use a simple custom skin with Richfaces 4.0.0.Final.
I have the following parameters (web.xml):
<context-param>
<description>Ma skin</description>
<param-name>org.richfaces.skin</param-name>
<param-value>myskin</param-value>
</context-param>
<context-param>
<description>Définit la skin utilisée par RichFaces 4</description>
<param-name>org.richfaces.baseSkin</param-name>
<param-value>blueSky</param-value>
</context-param>
And the following exception occurs :
java.io.FileNotFoundException: /inputBackgroundImage.png.xhtml Not Found in ExternalContext as a Resource
at com.sun.faces.facelets.impl.DefaultFaceletFactory.resolveURL(DefaultFaceletFactory.java:224)
at com.sun.faces.facelets.impl.DefaultFaceletFactory.resolveURL(DefaultFaceletFactory.java:265)
at com.sun.faces.facelets.impl.DefaultFaceletFactory.getFacelet(DefaultFaceletFactory.java:193)
at com.sun.faces.application.view.FaceletViewHandlingStrategy.buildView(FaceletViewHandlingStrategy.java:741)
at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:100)
at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
at org.springframework.faces.mvc.JsfView.renderMergedOutputModel(JsfView.java:85)
at org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:250)
at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1047)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:817)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:719)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:644)
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:549)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
It appears some richfaces ressources (referenced in skinning_classes.ecss from module richfaces-core-impl) are not found
I tried to find theses images (inputBackgroundImage.png, etc ...) in richfaces 4 sources , but no way.... may someone please help me ?