4 Replies Latest reply on Apr 26, 2012 10:52 AM by Ashis Sahoo

    rich:progressBar not working inside rich:fileUpload control.

    Ashis Sahoo Newbie

      Hello Friends,

      I am facing some changllenges in dealing with richfaces progress bar inside the file upload control. I want to use custom progresbar in side the fileupload control: here is the code


      <rich:fileUpload fileUploadListener="#{fileUpload.listener}" listHeight="60px" listWidth="60px" style="width: 90%; height: 20%; position: relative;          left:5%; right:5%" id="upload" allowFlash="true" maxFilesQuantity="1" acceptedTypes="csv">


             <f:facet name="progress">

                  <rich:progressBar value="#{progressBarBean.currentValue}"

                          interval="1000" id="pb" enabled="#{progressBarBean.enabled}"

                           minValue="0" maxValue="100">


                           <h:outputText value="#{progressBarBean.currentValue} %" />






      Here FileUpload and ProgressBarBean are two different session scoped beans.


      Progress bar is not working as expected. Progressbar is not calling the getCurrentValue() of ProgressBarBean. Any input would be greatly appreciated.