Re: Not finding Elemental classes

2015-08-01 Thread Ali Akhtar
Is there a way to use input element from a ui binder file, or add it to a panel? On Aug 1, 2015 10:22 PM, Jens jens.nehlme...@gmail.com wrote: Thank you. By the way, how can you get an elemental.html.File or FileList object from a gwt FileUpload widget or an input type=file widget? I.e if the

Re: [gwt-contrib] Re: Stop calling it GWT 3.0

2015-08-01 Thread Ali Akhtar
Nevermind, found it. -- You received this message because you are subscribed to the Google Groups GWT Contributors group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit-contributors+unsubscr...@googlegroups.com. To view this discussion on

Re: Not finding Elemental classes

2015-08-01 Thread Jens
Thank you. By the way, how can you get an elemental.html.File or FileList object from a gwt FileUpload widget or an input type=file widget? I.e if the user selects a file to upload, how can I handle it using the Elemental File api? You need to access the files property of the input

Not finding Elemental classes

2015-08-01 Thread Ali Akhtar
Hi, I'm not finding any of the elemental classes / code. I'm including gwt-user , gwt-dev , and gwt-servlet (all 2.8.0-SNAPSHOT) as dependencies. But, the elemental.dom and elemental.dom imports are failing. Do I need to add another dependency in order toinclude Elemental's code? Thanks. --

Re: [gwt-contrib] Re: Stop calling it GWT 3.0

2015-08-01 Thread Ali Akhtar
I searched for the modernizing GWT talk but didn't find it on youtube - is there any other talk / article that we can refer to, on how to write future proof gwt code? -- You received this message because you are subscribed to the Google Groups GWT Contributors group. To unsubscribe from this

Re: Not finding Elemental classes

2015-08-01 Thread Ali Akhtar
Thank you. By the way, how can you get an elemental.html.File or FileList object from a gwt FileUpload widget or an input type=file widget? I.e if the user selects a file to upload, how can I handle it using the Elemental File api? On Sat, Aug 1, 2015 at 8:47 PM, Thomas Broyer t.bro...@gmail.com

GWT native to long conversion

2015-08-01 Thread Nikolay Prokofiev
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 =

Re: Not finding Elemental classes

2015-08-01 Thread Thomas Broyer
On Saturday, August 1, 2015 at 5:25:40 PM UTC+2, Ali Akhtar wrote: Hi, I'm not finding any of the elemental classes / code. I'm including gwt-user , gwt-dev , and gwt-servlet (all 2.8.0-SNAPSHOT) as dependencies. But, the elemental.dom and elemental.dom imports are failing. Do I need

[gwt-contrib] Re: JSInterop @JsProperty overriding name

2015-08-01 Thread Wesley, Wookjin Jung
Appreciate you guys passion and effort!! On Wednesday, July 29, 2015 at 8:51:39 AM UTC-4, Ümit Seren wrote: I started to play around with JSInterop and GWT 2.8.0-SNAPSHOT. Primarily I was following these documentation:

Re: GWT native to long conversion

2015-08-01 Thread Nagin Kothari
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

Re: GWT release prioritization

2015-08-01 Thread Erik Kuefler
+1, snapshots aren't an option for many people. Also, the biggest feature of 2.8 in many people's minds is Java 8 support, so if JsInterop is going to continue blocking for months I'm sure it would be widely appreciated to release just Java 8 on the 2.7 branch, or push JsInterop off to 2.8.1.

Re: GWT native to long conversion

2015-08-01 Thread 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 ''+this.id; }-*/; as well as returning a java numeric value: public final native int