Refresh of CellTable via data transmitted via WebSocket delayed

2016-09-22 Thread Kay Pac
I have a somewhat complex problem related to a CellTable that updates based on messages received over a WebSocket connection. The problem is as follows: The table does not update in real-time, even though "setRowData" and redraw* are called in real-time. There is a delay in the row appearing

Re: JSON to Client Side GWT JavaScriptObject

2016-09-22 Thread Velusamy Velu
Thank you very much! I just can't believe I missed that. On Thursday, September 22, 2016 at 11:10:15 AM UTC-4, Jens wrote: > > Missing "return" statement in your JSNI method. Because you returned > nothing, the method returns null automatically. > > Also you can use > > ServerResponseJson resp

Re: chrome 53 styleSheet insertRule not working

2016-09-22 Thread fenyoapa
I solved it by not storing the sheet in a gwt JavaScriptObject field but always get it with a native js method: styleElement.sheet. -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this group and stop receiving emails from it,

Re: JSON to Client Side GWT JavaScriptObject

2016-09-22 Thread Jens
Missing "return" statement in your JSNI method. Because you returned nothing, the method returns null automatically. Also you can use ServerResponseJson resp = JsonUtils.safeEvel(jsonString); which is safer than using JS eval() directly. -- J. -- You received this message because you are

JSON to Client Side GWT JavaScriptObject

2016-09-22 Thread Velusamy Velu
I'm looking for help in converting a JSON to an instance of a POJO with embedded objects, on the GWT client side. I'm partially successful but unable to convert every piece of the JSON I have. I have removed all but one working piece of code here to narrow down to the problem area.

Re: Update conversation by displaying new messages when they are sent

2016-09-22 Thread Frank
I will repeat myself : I would look into Athmosphere. This is a wrapper around websockets so you don't have to do the bear bones stuff yourself. And they talk about GWT on their Github page : https://github.com/Atmosphere/atmosphere-extensions/wiki/Atmosphere-GWT I used SignalR which is also a