mitel
unread,May 29, 2011, 1:37:47 PM5/29/11Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google Web Toolkit
Hi,
I'm doing some tests using realtime message push from different
providers (Beaconpush, PubNub) and I want to render the received
messages
as soon as they hit the client. I'm using a callback that updates a
ListDataProvider ( getList().add(pushedMessage) ).
The message is received, as I can see it in my logs , the model is
updated - I do a dataProvider.refresh().
The strange thing is that the received message is rendered in the
browser only after a mouse move inside the browser window.
If I keep moving the mouse around, the pushed messages come in real
time.
What would be the workaround to render the information without
touching the mouse? I tried cellList.redraw() inside the callback
after
each message is received but doesn't help.
Thank you