0 Replies Latest reply: May 7, 2012 9:34 AM by Christoph Stampfel RSS

RichFaces 4.2.1 - a4j:push

Christoph Stampfel Newbie

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:

 

if (message.number <= lastMessageNumber) 
{
   continue;
}

 

 

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