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
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
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,
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
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.
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