6 Replies Latest reply on Apr 8, 2010 11:42 AM by Ilya Shaikovsky

    rich:fileUpload disabled

    Krishna Kishore Novice

      Hi,

      I am using <rich:fileUpload ...> control.but when the page is loaded for the first time, "Add" button is disabled. It is getting enabled when the page is refreshed.

       

      I have used the tag in this way :

      <pre>

      <a4j:outputPanel id="unsubList_1">

      <rich:fileUpload id="unsubList" acceptedTypes="txt" required="true" requiredMessage="Please select a txt file to upload" maxFilesQuantity="1" fileUploadListener="#{bean.uploadListener}" listHeight="50px;' allowFlash="true" immediateUpload="true" autoclear="false">

         <a4j:support ajaxSingle="true" event="onclear" reRender="unsubList_1"/>

      </a4j:outputPanel>

      </pre>

       

       

      Please help me in this issue.