title: Show error and change doneLabel of rich:fileUpload in upload listener method
body: <p>I have to upload CSV file and I have to validate some values of file, for example does not allow negative value. Then, I need validate it and that file does not apear like "done" or "uploaded". I need handle an error on display it. </p>
  
  <pre><code>&lt;rich:fileUpload
      fileUploadListener="#{configClientBean.listener}"
  
      ontyperejected="alert('some error');"
      maxFilesQuantity="1"
      onuploadcomplete="#{rich:component('waitPanelInterno')}.hide();"
      onfilesubmit="#{rich:component('waitPanelInterno')}.show();"
      render="pnlMensajes, idTableClients, scrollRegistros, outputPanelDetalle"
      autoclear="true"&gt;
  
      &lt;rich:message for="uploadConfigClient" /&gt;
  
      &lt;a4j:ajax event="uploadcomplete" execute="popupFileLoad"
      render="panelCarga, pnlMensajes" /&gt;
  
  &lt;/rich:fileUpload&gt;
  </code></pre>
  
  <p>In the Backing bean I can validate some things, but I cant show errors or change the behavior of "rich:fileUpload" compoment for example doneLable can not be displayed. </p>
  
  <pre><code>public void listener(FileUploadEvent event) throws Exception {
  
      try {
          UploadedFile file = event.getUploadedFile();
          ByteArrayInputStream bais = new ByteArrayInputStream(file.getData());
          InputStreamReader is = new InputStreamReader(bais, getMessage("iso"));
          BufferedReader bufRead = new BufferedReader(is);
          while ((registro = bufRead.readLine()) != null) {
              if(cvsLine[1].isEmpty()){
              // stop process
              // Throw error
              }
          }
  }
  </code></pre>
  
  <p>Thanks for your time.</p>