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


      Here's what my code looks like:

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

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


      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.