1 Reply Latest reply on Jun 17, 2010 5:07 AM by ilya_shaikovsky

    Add button in rich:fileUpload still disable after I clear all uploaded files

    shmu80

      I am using the rich:fileUpload to upload a file, after that I click on the Clear button. The uploaded file is disappear, but the Add button still disable.

       

      Below is my code

       

      <rich:fileUpload fileUploadListener="#{bean.listener}"
                      maxFilesQuantity="1"
                      id="upload"
                      acceptedTypes="csv" immediateUpload="true" allowFlash="true">
                      <a4j:support event="onuploadcomplete,onuploadcanceled" reRender="upload"/>
      </rich:fileUpload>

       

      Please advise.