6 Replies Latest reply on Apr 4, 2010 2:47 PM by edrus

    Richfaces version for JBoss 4.0.3 SP1 + JSF 1.1_01 RI ?

      Hi all,

       

      I'm interested to use Ajax4jsf in my project, but don't know what version to use.

       

      My environment has jboss 4.0.3 SP1 and JSF 1.1_01 RI. I can' change versions because it is a pre built package from another enterprise.

       

      Which version of Richfaces indicated to use with this config ? I'm only interested in ajax.

       

      Thanks.

        • 1. Re: Richfaces version for JBoss 4.0.3 SP1 + JSF 1.1_01 RI ?
          nbelaevski

          Hi,

           

          3.1.6.SR1

          • 2. Re: Richfaces version for JBoss 4.0.3 SP1 + JSF 1.1_01 RI ?

            Thanks Nick.

             

            But is there a special configuration to do with web.xml, like filters etc. ?

             

            I tried to compile the project using richfaces and i got a NoClassDefFoundError: org/apache/commons/collections/map/LRUMap

             

            Then i've downloaded commons-collections-3.1.jar and deploy was successfull.

             

            I'm a little bit newbie in this architecture...

             

            My project has a login page. Entering my information (user and password) and clicking "OK" it creates another browser and the normal flow of the application gets lost.

             

            When i remove richfaces jars and tags from both web.xml and jsp files everything comes back to normal.

             

            Do you know what i'm doing wrong?

             

            Thanks.

            • 3. Re: Richfaces version for JBoss 4.0.3 SP1 + JSF 1.1_01 RI ?
              nbelaevski

              But is there a special configuration to do with web.xml, like filters etc. ?

               

              I tried to compile the project using richfaces and i got a NoClassDefFoundError: org/apache/commons/collections/map/LRUMap

               

              Then i've downloaded commons-collections-3.1.jar and deploy was successfull.

              Please take a look at user's guide for configuration & required runtime dependencies information.

              • 4. Re: Richfaces version for JBoss 4.0.3 SP1 + JSF 1.1_01 RI ?

                Hi Nick,

                 

                I haven't found a reference for dependency libraries in Richfaces 3.1.6.SR1.

                 

                Google told me (:D)  that following libs works fine with 3.1.6.SR1:

                 

                • commons collections 3.2 (commons-collections-3.2.jar)
                • commons beanutils 1.7.0 (commons-beanutils.jar)
                • commons digester 1.8 (commons-digester-1.8.jar)
                • commons logging 1.1 (commons-logging-1.1.jar, commons-logging-adapters-1.1.jar, commons-logging-api-1.1.jar)

                 

                And there is a topic in Richfaces 3.3.x dev guide that says:

                Important:

                A JSF application with RichFaces assumes that the following JARs are available in the project: commons-beanutils-1.7.0.jar, commons-collections-3.2.jar, commons-digester-1.8.jar, commons-logging-1.0.4.jar, jhighlight-1.0.jar.

                 

                That's all dependencies?

                 

                Thanks.

                Edro.

                • 5. Re: Richfaces version for JBoss 4.0.3 SP1 + JSF 1.1_01 RI ?
                  nbelaevski

                  Edro,

                   

                  jhighlight is an optional dependency, it's necessary for rich:insert component.

                   

                  One more optional dependency is Neko HTML (necessary if NEKO parser is used, requires Xerces.jar). 

                  1 of 1 people found this helpful
                  • 6. Re: Richfaces version for JBoss 4.0.3 SP1 + JSF 1.1_01 RI ?

                    Thanks for help Nick.

                     

                    Cheers,

                    Edro.