2 Replies Latest reply on Jun 29, 2012 12:45 PM by ealonso04

    Which libraries do I have to download for rich:fileUpload component with RichFaces 4.2

    ealonso04

      Hi guys!

       

      Does anybody know which libraries do I have to download if I want to get working the rich:fileUpload component with RichFaces 4.2?

      I got to this site https://repository.jboss.org/nexus/index.html#nexus-search;gav~org.richfaces.ui~fileUpload~~~~kw,versionexpand and there I can download the fileUpload-3.2.2-SR1.jar and fileUpload-3.3.4-SNAPSHOT.jar.

      But I don't know which one is the right jar and if I need some others jars to get working the example.

       

      Thanks in advance!

        • 1. Re: Which libraries do I have to download for rich:fileUpload component with RichFaces 4.2
          jhuska

          Hi Ernesto,

           

          you do not have to download this dependency in order to make fileUpload working. To make working any of the components I recommend you to follow the Developer guide, section 2.1.1. Project libraries and dependencies.

           

          The best way to bring dependencies into RF project is to use Maven, however, you can download mentioned libraires manually. For me for example, it is most easy to fetch all the required dependencies from already existing RF apps. So I download richfaces-showcase-tomcat6, and decopress it, to access required libraries from WEB-INF/lib.

           

          Was that helpful to you ?

          • 2. Re: Which libraries do I have to download for rich:fileUpload component with RichFaces 4.2
            ealonso04

            Hi Juraj,

             

            You are altogether right! The problem I had regarding with rich:fileUpload was related with the richfaces style, I mean, I was testing fileUpload in a lonely component inside a ui:define and for some unknown reason, that component wasn't inheriting the default richfaces style. I don't know why!!!

            So after spending too much time trying to find what was wrong I put the component inside of a master template page I have in my project and that way I could get the fileUpload component working as the Showcase. That's really weird 'cause I have others pages working alone and they are receiving the default richfaces style.

             

            But at the end I have to say thank you for your time. = )