2 Replies Latest reply on May 3, 2010 5:42 AM by ilya_shaikovsky

    richfaces fileUpload progress bar interferes with a4j:poll

      I have a modal panel which has the richfaces fileUpload component. What I am trying to do is upload a file, do some processing and display the processing status using a4j:poll on this modal panel. However, it seems that the progress bar and poll interfere with each other and neither of them work. Is there a work around to this?

        • 1. Re: richfaces fileUpload progress bar interferes with a4j:poll

          I found out that this only seems to happen if the file that i am uploading is of small size. The progress bar and poll work just fine if the file size is large. Any idea what seems to be happening?

          • 2. Re: richfaces fileUpload progress bar interferes with a4j:poll
            ilya_shaikovsky

            It would be good to look into your code.

             

            But in general need to admit that from the first look - I do not see optimal way of such usecase implementation.. Upload component requests server for actuall upload. Also fileUpload progress bar uses poll to update internal status.. also you using poll to update some your status.. three parallel requests occurs. And some browsers may not even not allow so much connections open at the same time. So that solution could be problematic.