6 Replies Latest reply on Aug 6, 2008 4:43 AM by Andrei Markavtsov

    rich:fileUpload doesnt behave correctly when the uploaded fi

    Tao Xiao Newbie

      Hi all,

      I was trying to upload a file which was larger than the required maximun file size by using rich:fileUpload. It behaved as expected in firefox3 where the uploading process stopped with message "transfer error occured". but it behaved differently in IE6 where the uploading process succeed and looked like that the file got uploaded successfully.

      The following is my code

      <rich:fileUpload id="supportingFilesUplaod" listHeight="150"
       fileUploadListener="#{signerManagement.uploadSupportingFile}"
       maxFilesQuantity="10" cleanButtonClass="none"
       sizeErrorLabel="#{messages['upload.documents.upload.size.error.message']}"
       clearAllControlLabel="" clearControlLabel=""
       addControlLabel="#{messages['upload.documents.attach.supporting.button.label']}">
       <f:facet name="label">
       <h:outputText
       value="#{messages['upload.documents.upload.progress.message']}" />
       </f:facet>
       </rich:fileUpload>
      


      here is the multipart filter setting in component.xml
      <web:multipart-filter maxRequestSize="10485760"
       createTempFiles="true" />


      I am running richfaces 3.2.1.GA, seam 2.0.2.GA and jboss 4.2.2.GA

      Thanks