2 Replies Latest reply on Jan 27, 2012 10:44 AM by Simon OConnor

    Rich Faces CSS file not loading

    Simon OConnor Newbie

      I am new to Java and also to Rich Faces. I am using the Netbeans 7.1 IDE and I am having trouble getting Rich Faces to work properly.


      I have created a new Netbeans 7.1 web project, using JSF 2.0, and including Rich Faces components (I created a new library with the following in it: cssparser-0.96, sac-1.3, guava-11.0.1, richfaces-core-api-4.1.0, richfaces-core-impl-4.1.0, richfaces-components-api-4.1.0 and richfaces-components-ui-4.1.0.


      When I compile and run the application (the simple dialog popup panel from the demo page), everything works fine and compiles ok, but the css files are not being found. The command button appears as a normal button and on clicking the dialog box appears as just simple text etc. The jquery and other javascript is being found, but the css files are not located. They are generating like this when I view source




      If I try to follow the link I get a 404 error.


      I have searched for help on this issue and have not found anyting. The doc's imply I should not need to configure anything for the CSS to work. I tried changing the default skin using the xml config file, and that made no difference.


      Any help greatly appreciated.