Components are not being skinned
fireworld2406 Jul 10, 2009 4:33 PMHi!
I am new to working with RichFaces, and have come across a problem. When viewing RichFaces pages, none of the components are skinned. They all show up as either standard HTML renderings, or just the associated text shows. A screenshot of this is available at [img]http://wwsvr.dyndns.org/Rich Faces IMG.jpg[/img].
I use JDeveloper 11.1.1.1.0 as my IDE, if it makes any difference.
Here is a list of all of the libraries included:
JSF 1.2
JSTL 1.2
JSP Runtime
Richfaces-api-3.3.1.GA.jar
Richfaces-ui-3.3.1.GA.jar
Richfaces-impl-3.3.1.GA.jar
Commons Logging 1.0.4
Commons-beanutils-1.7.0.jar
Commons Collections 3.1
Commons Digester 1.7
Here is my web.xml:
<?xml version="1.0"?> <web-app version="2.5" 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_2_5.xsd"> <display-name>Greeter</display-name> <context-param> <param-name>javax.faces.STATE_SAVING_METHOD</param-name> <param-value>server</param-value> </context-param> <context-param> <param-name>org.richfaces.SKIN</param-name> <param-value>ruby</param-value> </context-param> <context-param> <param-name>org.richfaces.CONTROL_SKINNING</param-name> <param-value>enable</param-value> </context-param> <filter> <display-name>RichFaces Filter</display-name> <filter-name>richfaces</filter-name> <filter-class>org.ajax4jsf.Filter</filter-class> </filter> <filter-mapping> <filter-name>richfaces</filter-name> <servlet-name>Faces Servlet</servlet-name> <dispatcher>REQUEST</dispatcher> <dispatcher>FORWARD</dispatcher> <dispatcher>INCLUDE</dispatcher> </filter-mapping> <listener> <listener-class>com.sun.faces.config.ConfigureListener</listener-class> </listener> <!-- Faces Servlet --> <servlet> <servlet-name>Faces Servlet</servlet-name> <servlet-class>javax.faces.webapp.FacesServlet</servlet-class> <load-on-startup>1</load-on-startup> </servlet> <!-- Faces Servlet Mapping --> <servlet-mapping> <servlet-name>Faces Servlet</servlet-name> <url-pattern>*.jsf</url-pattern> </servlet-mapping> <login-config> <auth-method>BASIC</auth-method> </login-config> </web-app>
Here is my faces-config.xml:
<?xml version="1.0" encoding="windows-1252"?> <faces-config version="1.2" xmlns="http://java.sun.com/xml/ns/javaee"> <managed-bean> <managed-bean-name>backing_untitled1</managed-bean-name> <managed-bean-class>project3.backing.Untitled1</managed-bean-class> <managed-bean-scope>request</managed-bean-scope> <!--oracle-jdev-comment:managed-bean-jsp-link:1untitled1.jsp--> </managed-bean> <managed-bean> <description>UsernName Bean</description> <managed-bean-name>user</managed-bean-name> <managed-bean-class>demo.user</managed-bean-class> <managed-bean-scope>request</managed-bean-scope> <managed-property> <property-name>name</property-name> <property-class>java.lang.String</property-class> <value></value> </managed-property> </managed-bean> <managed-bean> <managed-bean-name>backing_richdemo</managed-bean-name> <managed-bean-class>project3.backing.Richdemo</managed-bean-class> <managed-bean-scope>request</managed-bean-scope> <!--oracle-jdev-comment:managed-bean-jsp-link:1richdemo.jsp--> </managed-bean> </faces-config>
For testing, this is deployed to a (integrated w/ JDev) WebLogic 11gR1 server (at least thats what it appears to be).
Please let me know if you need any more information.
Thank you in advance for your help!