Thanks!
суббота, 1 августа 2015 г., 18:07:56 UTC-4 пользователь Alberto Mancini
написал:
Hello,
in your example you are returning id (a numeric value) as a string ant
this is the origin of the unexpected behavior.
Indeed this works
public final native String _getIdString()/*-{ return
Hi.
I'm trying to convert js native number to GWT Long and send it over
gwt-rpc. But I got very weird results..
public class gwtbugEntryPoint implements EntryPoint {
@Override
public void onModuleLoad() {
String data = {\type\:\upd\, \id\:123};
ServerEvent serverEvent =
instead of
Long id = new Long(idStr);
try
Long id = Long.parseLong(idStr);
On Sun, Aug 2, 2015 at 3:37 AM, Alberto Mancini ab.manc...@gmail.com
wrote:
Hello,
in your example you are returning id (a numeric value) as a string ant
this is the origin of the unexpected behavior.
Indeed
Hello,
in your example you are returning id (a numeric value) as a string ant
this is the origin of the unexpected behavior.
Indeed this works
public final native String _getIdString()/*-{ return ''+this.id; }-*/;
as well as returning a java numeric value:
public final native int