Re: Support for GWT 2.0.3, com.extjs.gxt 2.2.0-gwt2 with IE 11

2018-02-22 Thread Tony BenBrahim
With a few changes, it will also work with Java 8 and GWT 2.8.2 See https://github.com/bedatadriven/gxt for an example. I have several GXT projects on GWT 2.8.2 On Wednesday, August 26, 2015 at 1:35:00 AM UTC-5, Narasimhulu Bysani wrote: > > Hi All, > > Currently my application was developed with

Re: ClassCastException in generics

2017-08-23 Thread Tony BenBrahim
public static native FileReader newFileReader() /*-{ return new *$wnd*.FileReader(); }-*/; On Wed, Aug 23, 2017 at 6:36 AM, Kirill Prazdnikov wrote: > ArrayBuffer arrayBuffer = fileReader2.resultArrayBuffer(); >> >> Logger.log("instanceOfArrayBuffer for file = " + >> isInstanceOfArrayBuffe

Re: ClassCastException in generics

2017-08-21 Thread Tony BenBrahim
Take the object you get back from the file reader and run it through the JSNI method below and GWT,log the result. .Let's see if it really is an ArrayBuffer.(I would note the FileReader result is sometimes a String and sometimes an ArrayBuffer). private native String getType(Object x)/*-{ retu

Re: Accessing "basic" JS Object in JsInterop callback

2017-08-20 Thread Tony BenBrahim
regarding 1) It would be nice to initialize Objects from json. What would happen if the json text specifies members not in class though? You could always do this, if you just need to pass something to JavaScript and do not need to read it... @JsType(isNative=true, name="JSON", namespace=@JsPa

Re: ClassCastException in generics

2017-08-20 Thread Tony BenBrahim
My, understanding, because I have noticed the same many times in the past few weeks. @JsType *may* (and that is a very weak may) work for a native type as long as you do not use it as you do not use it as a generic type argument. As soon as you do, for example, adding it to List, , cast check

Continuous Delivery with GWT

2014-08-11 Thread Tony BenBrahim
Has anyone successfully implemented Continuous Delivery with GWT. The biggest obstacle I see is GWT RPC, that seems to check that the client version matches the server version, so that when a new version of a backend is deployed, users will get an error message about an incorrect version and be

FIX: Problem with Firefox 22 and GWT Dev Plugin? Upgrade to Firefox 23

2013-08-12 Thread Tony BenBrahim
Go to Help About, an update from 22 to 23 should automatically start downloading. It fixed the problem for me. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this group and stop receiving emails from it, send an email

Re: GWT AsyncCallback failing

2009-11-30 Thread tony,benbrahim
Does your server side methid return 200 status code? -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolki

Re: GWT hosted mode in infinity loop when debugging

2009-01-05 Thread tony,benbrahim
Had the same problem, in my case, the hang was 5 minutes of 50% CPU, since the project is barely started (3000 LOC) A full rebuild fixed the problem Tony --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web