2 Replies Latest reply on Jun 15, 2012 5:15 AM by lfryc

    CDK creating custom component problem

    mkozeny

      Hi to all,

       

      I am trying to write custom RichFaces component according to Ilya Shaikovsky's book Practical RichFaces 2nd edition. I have encountered two problems with that. The first one is, that my maven 2 builts into my component's jar twice META-INF forlder with all its content. Second one appears when I want to invoke component's button (my component is spinner) and it is unable to find javascript location (org.richfaces.book folder). Javascript file is located in component's library and its path is META-INF\resources\org.richfaces.book. Here is the Tomcat server log:

       

      VI 04, 2012 1:50:10 ODP. com.sun.faces.application.resource.ResourceHandlerImpl logMissingResource
      WARNING: JSF1064: Unable to find or serve resource, spinner.js, from library, org.richfaces.book.
      VI 04, 2012 1:50:10 ODP. com.sun.faces.application.resource.ResourceHandlerImpl logMissingResource
      WARNING: JSF1064: Unable to find or serve resource, spinner.ecss, from library, org.richfaces.book.
      VI 04, 2012 1:50:10 ODP. com.sun.faces.application.resource.ResourceHandlerImpl logMissingResource
      WARNING: JSF1064: Unable to find or serve resource, spinner.ecss, from library, org.richfaces.book.
      

       

      Does anybody has experience with that?

      Thanks.