3 Replies Latest reply on Dec 3, 2009 7:28 AM by Ilya Shaikovsky

    rich:fileUpload Add button disabled for what reason?

    Zarar Siddiqi Newbie

      Hi,

      Here's what my code looks like:

      <rich:fileUpload uploadData="#{uploadAction.uploadedFiles}" maxFilesQuantity="50"
       allowFlash="true" listHeight="55px" disabled="false"
       fileUploadListener="#{uploadAction.fileUploaded}">
       <f:facet name="label">
       <h:outputText value="{_KB}KB of {KB}KB uploaded"/>
       </f:facet>
      </rich:fileUpload>


      However, almost at random, the Add button becomes disabled like so:

      http://img42.imageshack.us/img42/979/disabledrichfileupload.png

      I have no idea why this is happening since disabled is explicitly set to false and I'm not uploading 50 files. The uploadedFiles is never null and neither is uploadAction.

      Any help is appreciated.

      Thanks.