2 Replies Latest reply on Oct 11, 2009 4:29 PM by Tathagat Tathagat

    rich:fileUpload reRender

    Tathagat Tathagat Newbie

      Hi all.
      I could successfully upload files to my database using rich:fileUpload. Great work.

      But, the div that I want to update after upload is not being updated.

      I checked the ajax log and the ID is not even mentioned there.

      I do the upload in a modal panel. Normally it works, when I am using a ajax button/link.

      <h:form>
       <rich:fileUpload fileUploadListener="#{incidentAction.uploadDocument}" maxFilesQuantity="100"
       reRender="documentsDiv" autoclear="true" onuploadcomplete="#{rich:component('addFileModalPanel')}.hide()"/>
       </h:form>


      Any help is highly appreciated.

      Thanks!
      Tathagat