2 Replies Latest reply on Apr 10, 2013 12:58 PM by gmlussi

    a4j:ajax listener doesn't work with a4j:push

    mogaba Newbie



      I used this article to start with push. I added listener to a4j:ajax, but the method isn't invoked:

      <a4j:push address="sampleAddress">
          <a4j:ajax event="dataavailable" listener="#{pushModel.increment}" render="out" />

      The increment() method:

      public void increment() {
              System.out.println("count incremented");

      I use Richfaces 4.2.3 with Glassfish (also tried Tomcat 7).