2 Replies Latest reply on Aug 22, 2012 9:52 PM by hantsy bai

    Static resource mapping problem

    hantsy bai Master

      I want to use a my jquery in my project, it is a maven based project, I put the jquery.js in the resources/js folder under src/main/webapp directory.

      Following the Richfaces user guide, I created META-INF/richfaces/static-resouce-mappings.properties in the src/main/resources directory.




      But the generated url(jquery reference) in the page view is incorrect.


      1. How to force Richfaces to reuse my jquery js?

      2. if possible make Richfaces skip to generate the jquery javascript reference when I added jquery js myself via h:outputScript?