1 Reply Latest reply on Dec 30, 2008 8:45 AM by andrei_exadel

    progressbar and actionListener not working? bug?

      Hi,

      I'm trying to get the actionListener on the progressBar to fire on the poll event when the progressBar sends an ajax request. It doesn't fire!

      <rich:progressBar actionListener="#{process.checkProgress}" immediate="true" value="#{process.progress}" interval="500" enabled="#{process.inProgress}" reRender="resultsPanel" />
      


      with backing method:

      public void checkProgress(ActionEvent event) {
       progress = pt.getProgress();
       log.info("checkProgress():progress=" + progress);
       if (progress == 100) {
       log.info("adding completed message...");
       facesMessages.add("Processing successfully completed.");
       }
      }
      


      Has anyone got a working example of the actionListener on the progressBar?

      Thanks in advance

      Troy