2 Replies Latest reply on Mar 16, 2010 5:27 AM by odelya yomtov

    rich:fileUpload says done before action listener finishes

    odelya yomtov Novice

      Hi!

       

      I have this component:

      <rich:fileUpload id="uploadComponent"

      fileUploadListener="#{fileUploadBean.listener}" maxFilesQuantity="5"

      id="upload" immediateUpload="false" acceptedTypes="zip"

      allowFlash="true" rendered="#{fileUploadBean.dataFilled=='true'}" >

       

      <f:facet name="label">

      <h:outputText value="{_KB}KB from {KB}KB uploaded --- {mm}:{ss}" />

      </f:facet>

      </rich:fileUpload>

       

      1. the message always displays 00:00

      2. after around 20 seconds, it displays 'done' on the screen although the function is still running.

       

      why?