3 Replies Latest reply on Aug 13, 2008 2:41 AM by sen.cool

    Fileupload progress bar doesnt work in a4j repeat

      Hi
      I am using Richfaces fileupload for uploading file in my page. Fileupload works properly and the progress bar is also working fine.

      However, when i am trying to use the fileupload witin a loop as in a a4j:repeat or h:datatable, the progress bar doesnt work properly,but the fileupload works as expected.

      This is my code snippet
      <a4j:repeat value="#{assetUpload.bookings}" var="booking" >
      <a4j:form>
      <rich:messages></rich:messages>
      <rich:panel header="Upload the assets for #{assetUpload.gameList[0].noOfBillboards} Billboard(s)">
      <rich:fileUpload ajaxSingle="true"
      maxFilesQuantity="#{assetUpload.gameList[0].noOfBillboards}"
      listWidth="300" addControlLabel="Add Assets" listHeight="50"
      fileUploadListener="#{assetUpload.filelistener}"
      immediateUpload="true" noDuplicate="true">

      </rich:fileUpload>
      </rich:panel>
      </a4j:form>
      </a4j:repeat><a4j:keepAlive beanName="assetUpload" />


      Can anyone help me with this problem. Am i missing something ?