0 Replies Latest reply on Sep 29, 2009 2:37 PM by Allan Topp

    onuploadcanceled not being called

    Allan Topp Newbie

       

      <rich:fileUpload fileUploadListener="#{uploadAction.uploadFile}"
       uploadData="#{uploadAction.uploadData}" maxFilesQuantity="1"
       rendered="#{collaborateCurrentFolder.canAddChildren}"
       immediateUpload="false" listWidth="100%" listHeight="57px">
       <a:support event="onuploadcomplete"
       action="#{uploadAction.uploadListener}"
       reRender="folderContentsForm"
       status="modalStatus"/>
       <a:support event="onuploadcanceled"
       action="#{uploadAction.cancel}"
       reRender="folderContentsForm"/>
       </rich:fileUpload>


      The above code does not seem to trigger the onuploadcanceled event. I tested this further by placing

      onuploadcanceled="alert('hello');" inside the rich:fileupload component directly and still nothing. Using RichFaces 3.3.1