-
1. Stylesheet missing in RichFaces 4
ilya_shaikovsky Mar 31, 2011 9:15 AM (in response to mikaelbeermann)show complete web.xml. check security permissions. if defined wrong them could affect the resources also.
-
2. Stylesheet missing in RichFaces 4
mikaelbeermann Mar 31, 2011 9:40 AM (in response to ilya_shaikovsky)Here's the complete xml.xml. No security policies are applied at all:
<?xml version="1.0" encoding="UTF-8"?>
<web-app version="3.0" xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd">
<display-name>jsf2test2</display-name>
<context-param>
<param-name>org.richfaces.skin</param-name>
<param-value>blueSky</param-value>
</context-param>
<servlet>
<servlet-name>Faces Servlet</servlet-name>
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>*.jsf</url-pattern>
</servlet-mapping>
<welcome-file-list>
<welcome-file>index.html</welcome-file>
<welcome-file>index.htm</welcome-file>
<welcome-file>index.jsp</welcome-file>
<welcome-file>default.html</welcome-file>
<welcome-file>default.htm</welcome-file>
<welcome-file>default.jsp</welcome-file>
</welcome-file-list>
</web-app>
-
3. Stylesheet missing in RichFaces 4
ilya_shaikovsky Apr 1, 2011 4:41 AM (in response to mikaelbeermann)looks strange.. any messages in server console? any other frameworks used (Spring?) Check also resources loading statuses in FireFox FireBug(NET tab)
-
4. Stylesheet missing in RichFaces 4
mikaelbeermann Apr 1, 2011 4:47 AM (in response to ilya_shaikovsky)It seems to have been some library conflicts. I created a new project using maven, and then replaced the jar files in my project woth those from the maven project. Then it all worked fine.