0 Replies Latest reply on May 7, 2012 9:34 AM by christophs

    RichFaces 4.2.1 - a4j:push

    christophs

      Hello RichFaces experts.

       

      We are developing an administration popup for our application. In this popup we are showing the actual state of our application. e.g. logged on users, locked objects and much more.

      The gui component is updated using the richfaces push component.

       

      The consumed topics are correctly transmitted to the clients but the problem is, that the "dataavailable"-event is not triggered sometimes.

      If I delete following lines in the RichFaces push.js my code works correctly:

       

      {code}

      if (message.number <= lastMessageNumber)

      {

         continue;

      }

      {code}

       

      Please, can you tell me the intention for the above code snippet?

      Maybe it could help me to find the error in my code.

       

      Thanks,

      Christoph