1 Reply Latest reply on Oct 11, 2010 10:43 AM by ilya_shaikovsky

    Need help installing Richfaces 4

    daxxy

      The migration guide I found here http://docs.jboss.org/richfaces/latest_4_0_X/Migration_Guide/en-US/html/chap-Migration_Guide-Upgrading.html says to install 3 libraries into the WEB-INF/lib of my app: richfaces-api, richfaces-impl, and core-ui.  Seems straightforward. However, the distribution contains the following libs:

       

      richfaces-commons-api

      richfaces-core-api

      richfaces-core-impl

      richfaces-components-api

      richfaces-components-ui

       

      Do I install all of these in my WEB-INF/lib?  What if my app is an EAR?  I currently have richfaces-api in my EarContent/lib.

       

      I did the following, Please correct if I'm wrong:

       

      richfaces-*-api into EarContent/lib

      richfaces-*-impl into WEB-INF/lib

      richfaces-*-ui into WEB-INF/lib

       

      I don't really expect this to work right off the bat so I'd like to confirm I've at least got everything into the right place.

       

      TDR

        • 1. Re: Need help installing Richfaces 4
          ilya_shaikovsky

          1) sorry about guide.. Seems need to add note to documentation page. That currently our readme's and wiki pages could be sometimes more in sync that documentation. And the reason is simple - docs also getting reviewed and rewritten almost from scratch relativelly to 3.3.x. Also there are few separate docs planned now(components reference, migration guide and cdk reference). and it's really hard to syncronize them all every release. We doing our best to review all the new functionality to keep docs in sycn but in some cases wiki's which maintained by dev's could be more valid.

           

          2) actual dependencies(including third-party) listed in distribution  readme's. And yes - all should be added.

          2.1) for maven management we have special page http://community.jboss.org/wiki/HowtoaddRichFaces4xtomavenbasedproject

           

          3) your EAR libraries placement - is completely ok. And should works. API - should be in EAR libs and UI and Impl's should be in webapp. Let us know if there are any problems with such deployment.

           

          P.S. https://jira.jboss.org/browse/RFPL-873 - thanks!