0 Replies Latest reply on Jun 28, 2010 9:05 AM by Stefan Waldner

    Combine Richfaces css without Maven

    Stefan Waldner Newbie



      we are using Richfaces in a JBoss portal portlet environment. While analyzing the performance of our application, we saw, that every portlet is loading it's own js and css packages, which leads to a huge overhead of files to be transferred. Now we tried to combine the Richfaces js and css files to one file and load them inside the layout. This works great for js, but some Richfaces component are not renedered correctely, due to the dynamic resource creation for images from xcss files.


      We cannot use Maven in our project, so this article does not help: https://community.jboss.org/wiki/MavenResourceDependencyPluginReference


      Is there any other way to combine all Richfaces css files into one, e.g. using ANT?


      JBoss 4.2.3

      JBoss Portal 2.7.2

      Richfaces 3.3.3


      Thanks and best regards,

      Stefan Waldner