6 Replies Latest reply on Apr 30, 2008 1:35 PM by Andrei Markavtsov

    FileUpload: clearAllListener - fileName

    eklam Newbie

      Shouldn't fileUpload have some more listeners associetad with it ?

      For example when the user click in clearAll I to call a metho in my bean, how can I do that ? And also sometime when the I do click this button I am redirected to http://localhost:8080/# why this is happening and how to avoid it ?

      When my file has special character in its name like 'ô' or ' ' the name goes to the beanwrongly I tried to add a charset="utf-8" but it not seem to work... any solution ?

      My fileUpload is:

      <rich:fileUpload fileUploadListener="#{agendaEventoMB.upload.fileUploadListener}"
       maxFilesQuantity="#{agendaEventoMB.upload.maxFilesQuantity}"
       id="upload"
       listWidth="250"
       immediateUpload="true"
       acceptedTypes="#{agendaEventoMB.upload.extensoes}"
       charset="UTF-8">
       <a4j:support event="onuploadcomplete" reRender="info" />
       </rich:fileUpload>


      tnks