Re: [GWT 2.8 SHNAPSHOT] missing stack trace for 'Should only call onDetach when the widget is attached to the browser's document'

2016-09-27 Thread Paul Stockley
Sorry, I should also add if this is production, you can generate a symbol map file. Usually on my builds it is located under web-inf/deploy//.symbolMap. You can search for the obfuscated function names e.g. nC_g$ You can also do this lookup at run-time. I would have to dig up the code because

Re: [GWT 2.8 SHNAPSHOT] missing stack trace for 'Should only call onDetach when the widget is attached to the browser's document'

2016-09-27 Thread Paul Stockley
Is this in a production build or SDM? In SDM you can pass the flag -XmethodNameDisplayMode ABBREVIATED. Then in chrome you will see class/method names in the call stack On Monday, September 26, 2016 at 5:24:25 PM UTC-4, Hristo Stoyanov wrote: > > Hi all, > I wonder if anyone can help me figure

Re: JsInterop and constants

2016-09-27 Thread Paul Stockley
It can't be a child interface. On Tuesday, September 27, 2016 at 9:52:47 AM UTC-4, Kirill Prazdnikov wrote: > > > or you can move your constants to another class since they are not js > visibile... > > Thats what am I doing: > > @JsType(isNative = true, namespace = JsPackage.GLOBAL) > public

Re: How to debug server side code in Thomas Broyer GWT Maven Plugin

2016-09-27 Thread David
How do I run mvn gwt:compile? I have to pass moduleName. I don't knew how to pass it. I did some research without success. Please help me. David On Monday, September 26, 2016 at 10:14:06 AM UTC-4, Thomas Broyer wrote: > > > > On Monday, September 26, 2016 at 3:02:37 PM UTC+2, David wrote: >> >>

Re: JsInterop and constants

2016-09-27 Thread Kirill Prazdnikov
> or you can move your constants to another class since they are not js > visibile... Thats what am I doing: @JsType(isNative = true, namespace = JsPackage.GLOBAL) public interface JsObject { @JsProperty int getMyInt(); interface Const { int ONE = 1; } } -- You received this

SDM Class replacement problem

2016-09-27 Thread Alexander Tarasov
Hi. I need to replace some abstact class from external library. I've created the same package as in class and put there modified class. In PROD mode everything works fine, but SDM does not see this file and compiles the original one. Is it a bug? Is there any solution to force SDM to look up for

Re: SDM Class replacement problem

2016-09-27 Thread Thomas Broyer
Double check your classpath order, and/or possibly pass your source tree root folder as -src to SDM instead of adding it to the classpath. On Tuesday, September 27, 2016 at 3:44:44 PM UTC+2, Alexander Tarasov wrote: > > Hi. > I need to replace some abstact class from external library. > I've

Re: Window.open does nothing in windows mobile 10 (IEEdge)

2016-09-27 Thread Vassilis Virvilis
I mean maybe Edge may also have a connect to desktop Edge debugging mode On Tue, Sep 27, 2016 at 1:31 PM, Vassilis Virvilis wrote: > looks like a popup blocker issue... Does an alert command before window > open() works? If yes then you don't have problem with the event

Re: Window.open does nothing in windows mobile 10 (IEEdge)

2016-09-27 Thread Vassilis Virvilis
looks like a popup blocker issue... Does an alert command before window open() works? If yes then you don't have problem with the event but with open per se. Mobile Chromium and mobile Safari have a developer mode with console - when connected to desktop computer. It needs some setup but a

Re: Window.open does nothing in windows mobile 10 (IEEdge)

2016-09-27 Thread Paul
In a simple GWT test project it works. It must be something I'm doing with event capture. My application is complex so I'll have to try and workout what is stopping the window.open just for IEEdge on windows mobile10 IEEdge desktop is fine and so is chrome! Strange On Tuesday, September

Re: JsInterop and constants

2016-09-27 Thread Kirill Prazdnikov
> > or you want a Java-only field in that interface (like you had in your JSO > previously), and then you need to use @JsOverlay. > Yes, I want Java-only scalars. Web GL constant pool has about 150 fields. Should I add JsOverlay 150 times ? Is it possible for GWT to automatically look at

Re: JsInterop and constants

2016-09-27 Thread Thomas Broyer
On Tuesday, September 27, 2016 at 1:36:13 PM UTC+2, Kirill Prazdnikov wrote: > > or you want a Java-only field in that interface (like you had in your JSO >> previously), and then you need to use @JsOverlay. >> > > Yes, I want Java-only scalars. Web GL constant pool has about 150 fields. >

Window.open does nothing in windows mobile 10 (IEEdge)

2016-09-27 Thread Paul
Window.open("http://www.google.co.uk","_blank",";) does nothing in windows mobile 10 (IEEdge) when running in GWT 2.7 Any ideas? If I write a simple html page with the above javascript, then the browser happily opens the google page on a new tab. -- You received this message because

Re: JsInterop and constants

2016-09-27 Thread Vassilis Virvilis
or you can move your constants to another class since they are not js visibile... On Tue, Sep 27, 2016 at 2:43 PM, Thomas Broyer wrote: > > On Tuesday, September 27, 2016 at 1:36:13 PM UTC+2, Kirill Prazdnikov > wrote: >> >> or you want a Java-only field in that interface

JsInterop and constants

2016-09-27 Thread Kirill Prazdnikov
Hi, It is not clear why GWT disallow scalar and String constants in JsInterop interfaces Previously it was public final class MediaError extends JavaScriptObject { public static final int MEDIA_ERR_ABORTED = 1; Now it is impossible to declare the constant in the API declaration:

Re: JsInterop and constants

2016-09-27 Thread Thomas Broyer
On Tuesday, September 27, 2016 at 11:03:17 AM UTC+2, Kirill Prazdnikov wrote: > > Hi, > > It is not clear why GWT disallow scalar and String constants in JsInterop > interfaces > Previously it was > > public final class MediaError extends JavaScriptObject { > public static final int

calling rest service

2016-09-27 Thread Dante Valencia
Hi friends, I need help please, I´m trying to call my rest service but I have problems when I try to use bufferedReader, InputStreamReader or TypeI dont know what to do. Please if you help me. I´m trying this public Usuario login(Usuario usuario) throws UnsupportedEncodingException,

CSS exception compiling 2.7.0 app

2016-09-27 Thread Thomas Redman
I reinstalled Eclipse and the GWT 2.7.0 plugin today, and I have not been able to "GWT compile" my app since. It is complaining about a css file(" /com/google/gwt/user/client/ui/NativeHorizontalScrollbarTransparent.css") in the gwt-users.jar file, but when I extract this file and look at it, I

Re: [GWT 2.8 SHNAPSHOT] missing stack trace for 'Should only call onDetach when the widget is attached to the browser's document'

2016-09-27 Thread Hristo Stoyanov
Paul, Thanks for reaching out. I only need the stack trace in SDM for now, and I am using the latest GWT 2.8-SNAPSHOT. I know about the -XmethodNameDisplayMode flag and tried all its options to no avail, which makes me think that the issue is somewhere else ... I googled the exception root,

Re: Window.open does nothing in windows mobile 10 (IEEdge)

2016-09-27 Thread Paul
Thanks for suggestions. As far as I know you still cannot remote debug mobile IEEdge in visual studio 2015 Anyway I think I have the answer. For some reason if I call window.open in response to a click event or another native event like pointerdown then it works. If I call window.open in

Re: calling rest service

2016-09-27 Thread Frank
Are you trying to do this code client side ? That will not work since GWT has no support for BufferedReader, InputStreamReader... In short. GWT only supports java.lang, and java.util (albeit not completely). Look into RequestBuilder, or RestyGwt (not sure about the exact name as I don't use

Re: [GWT 2.8 SHNAPSHOT] missing stack trace for 'Should only call onDetach when the widget is attached to the browser's document'

2016-09-27 Thread Jens
Have you accidentally disabled source map support in Chrome Dev Tools settings? If nothing helps and to get your issue solved you can use -style PRETTY as SDM parameter. As far as I know -XmethodNameDisplayMode ABBREVIATED is only used when setting a break point and looking at the call stack

Re: [GWT 2.8 SHNAPSHOT] missing stack trace for 'Should only call onDetach when the widget is attached to the browser's document'

2016-09-27 Thread Hristo Stoyanov
Thanks Jens, I have my -style set to DETAILED for the SDM/Compiler, which should be more than enough. When I do F1 in Chrome Dev Tools, I see these options checked: Enable JavaScript source maps Enable CSS source maps On Tuesday, September 27, 2016 at 11:19:13 AM UTC-7, Jens wrote: > >