0 Replies Latest reply on Dec 8, 2009 11:17 AM by leon.van.tegelen

    rich:fileUpload concurrency issue

      Hi

      we use a rich:fileUpload item to upload an image. Depending on the the page size we get Concurrent call to conversation errors, caused by the progressbar being updated. The only way I've found to circumvent the issue is increasing the concurrent-request-timeout.

      This is a solution which is not optimal as the progressbar is not working and the solution will fail when we use larger files.
      Am I missing something?


      <rich:fileUpload fileUploadListener="#{photoUploadBean.processUpload}" listHeight="60px" listWidth="300px"
       maxFilesQuantity="1" immediateUpload="true" acceptedTypes="jpg, jpeg, gif, png, bmp" >
       <a4j:support event="onuploadcomplete" reRender="#{_reRender}"
       oncomplete="Richfaces.hideModalPanel('fileUploadMP')" />
       </rich:fileUpload>