1 Reply Latest reply on Feb 13, 2011 10:45 AM by rory evans

    Richfaces components have no style

    rory evans Newbie



      I have created a basic JSF 2, Richfaces 4.0.0.M5 application which builds and deploys correctly.


      However, when I use a rich component on my page, it has no style associated with it (by looking at the showcase demos I'd expect a rich:panel to have a blue title bar for example).


      If I use a rich:panel in my page, it just displays with the text I have entered - plain black text on a white background. I am guessing that I have incorrectly configured my web.xml file. Please take a look at it and let me know what I have done wrong:


      <?xml version="1.0" encoding="UTF-8"?>

      <web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee"






          <!-- Activate the JSF 2.0 servlet -->


              <servlet-name>Faces Servlet</servlet-name>






              <servlet-name>Faces Servlet</servlet-name>




              <servlet-name>Faces Servlet</servlet-name>




              <servlet-name>Faces Servlet</servlet-name>









              This is an optional parameter, but it makes troubleshooting errors

              much easier.


          <!--    You may want to delete it before final deployment-->






          <!--    Spring Framwork-->















          <!-- End of Spring Framwork  -->




      Thanks in advance!