Re: Running new auto compile super dev mode from maven plugin

2014-11-05 Thread Thomas Broyer
Check the classpath for DevMode (run Maven with -X). FYI, I ran tests with my https://github.com/tbroyer/gwt-maven-archetypes and compile on refresh worked OK. On Wednesday, November 5, 2014 8:16:43 AM UTC+1, Michael Wiles wrote: Hi all... So I'm trying out gwt 2.7-rc1 I'm using the same

Server Push

2014-11-05 Thread Marcel K
Which framework for Server Push do you recommend, since Atmosphere doesn't seem to work with GWT 2.7.0? Thanks. -- 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

GWT 2.7 rc2+chrome is quite unstable

2014-11-05 Thread Alex Luya
The composition of 2.7 rc1+firefox 33 is relative stable(source file get loaded every time) but there is a another problem:output is large(has been discussed here:https://groups.google.com/forum/#!topic/google-web-toolkit-contributors/o9SlYe0s2j4) With chrome+2.7 rc1,source map

Re: GWT Cross Site Iframe Linker and Script Tags

2014-11-05 Thread Etienne Lacazedieu
Hi, I'm preparing a big switch (GWT2.3 to 2.6.1, which may change to 2.7.0 depening on the final release date), and I'm having trouble with the xsiframe linker.. I have no problems with adding script tags in the HTML file. Actually, I wrote a linker (a subclass of CrossSiteIframeLinker),

GWT 2.7 rc1+chrome,sourcemap got loaded sometime,sometime not

2014-11-05 Thread Alex Luya
The composition of 2.7 rc1+firefox 33 works relative stable(sourceMap get shown every time) but the souremap output of 2.7 is too large,and it cause firefox frozen to load it(this problem has been discussed here:

[gwt-contrib] stylesheet ignored/not handled in SDM 2.7.0-rc1

2014-11-05 Thread Christian X
Hello, I wanted to test the new SDM in 2.7.0-rc1. A stylesheet that I reference im my model file is not loaded, in console I get the output: [INFO] GET /overwrite.css [INFO][WARN] ignored get request: /overwrite.css [INFO][WARN] not handled: /overwrite.css With gwt 2.6.1 I could use

Re: [gwt-contrib] JSInterop assign a function/callback to a property

2014-11-05 Thread 'Ray Cromwell' via GWT Contributors
That document represents intent to implement, but SAM handling isn't implemented yet in GWT 2.7, since it is most useful after Java8 lands. Shortly Java8 will land, and then SAM handling in JsInterop and you'll be able to use GWT 2.8 nightly snapshots. For now, you'll need a utility function that

Re: [gwt-contrib] JSInterop handle JavaScript get/set function with the same name

2014-11-05 Thread confile
I also tried method overlaying based on Parameter types. @JsType(prototype = $wnd.Kinetic.Node) public interface KNode { void fire(String eventType, JavaScriptObject evt, KNodeEventCallbackJSO option); void fire(String eventType); } This does not work. I get the following error: [ERROR] Line

[gwt-contrib] stylesheet ignored/not handled in SDM 2.7.0-rc1

2014-11-05 Thread Christian X
Hello, I wanted to test the new SDM in 2.7.0-rc1. A stylesheet that I reference im my model file is not loaded, in console I get the output: [INFO] GET /overwrite.css [INFO][WARN] ignored get request: /overwrite.css [INFO][WARN] not handled: /overwrite.css With gwt 2.6.1 I could use

Re: [gwt-contrib] JSInterop assign a function/callback to a property

2014-11-05 Thread Kay-Uwe Janssen
Hello Ray, thank you for your reply. Okay, i already assumed that it is not yet in. do i understand your suggestion correctly that i then could do @JsType public interface Receiver { @JsProperty void onReady(JavaScriptObject onReady); } receiver.onReady(samToFunction(myCallback)); ? btw:

Re: [gwt-contrib] JSInterop handle JavaScript get/set function with the same name

2014-11-05 Thread 'Ray Cromwell' via GWT Contributors
Overloads are currently not allowed except for @JsProperty setters and getters in C-style initializer pattern, e.g interface Foo { @JsProperty void x(int a); // this is a setter @JsProperty int x(); // this is a getter } We plan to relax this restriction in the future. @JsMethod will be

Re: [gwt-contrib] JSInterop assign a function/callback to a property

2014-11-05 Thread Cristian Rinaldi
@kay-uwe what Ray says is: @JsType public interface Receiver { void onReady(Function onReadyFn); public static class Static { public static native Receiver create() /*-{ return //TODO return Receiver!!! }-*/; } } .. @JsType public interface Function {

Re: [gwt-contrib] JsInterop retrofit

2014-11-05 Thread Cristian Rinaldi
@goktug I like this option, it is expressive and concise. But I have a question, The code generated for the prototype, suppose we are extending some existing JS functionality and want to add some function, the prototype generated will have native code?, how this prototype generates subyasente

Re: [gwt-contrib] stylesheet ignored/not handled in SDM 2.7.0-rc1

2014-11-05 Thread 'John Stalcup' via GWT Contributors
Are you getting that error in SuperDevMode before or after the first compile? If before then it probably means that the existing initial public resources copying code is not picking up things that are only referenced via stylesheet tag but if the error is after the first compile then it probably

Re: [gwt-contrib] super dev mode not working

2014-11-05 Thread 'John Stalcup' via GWT Contributors
This is with GWT 2.6.1? SuperDevMode will only find changes in .java files that are in a directory that has been supplied to the JVM launch as part of the classpath or is specifically added using a -src parameter. From what you say it sounds like something about your project setup is leading to

Re: [gwt-contrib] JsInterop retrofit

2014-11-05 Thread 'Goktug Gokdogan' via GWT Contributors
It is compiler magic. The compiler understands from PrototypeOfJsType and assumes any methods in the class are native, hence ignores the method body. On Wed, Nov 5, 2014 at 4:08 AM, Cristian Rinaldi csrina...@gmail.com wrote: @goktug I like this option, it is expressive and concise. But I

Re: [gwt-contrib] JsInterop retrofit

2014-11-05 Thread Cristian Rinaldi
@goktug Thanks for the answer!! El miércoles, 5 de noviembre de 2014 17:34:51 UTC-3, Goktug Gokdogan escribió: It is compiler magic. The compiler understands from PrototypeOfJsType and assumes any methods in the class are native, hence ignores the method body. On Wed, Nov 5, 2014 at 4:08

[gwt-contrib] Deferred binding bug in 2.7

2014-11-05 Thread Erik Kuefler
I posted earlier https://groups.google.com/d/msg/google-web-toolkit-contributors/vCELYDM2_tE/S-E_AKanEVcJ about a bug I was seeing in the 2.7 beta, and it looks like it's still there in RC1. I don't have a minimal repro case yet, and it might be tough to make one, but I do have a bit more

[gwt-contrib] Re: JSInterop assign a function/callback to a property

2014-11-05 Thread Kay-Uwe Janssen
@Cristian Rinaldi unfortunately this does not work how i need it. it still assignes the object and not the javascript function. i think i have to wait for 2.8 to get it working. but thanks anyway :-) Am Mittwoch, 5. November 2014 08:28:21 UTC+1 schrieb Kay-Uwe Janssen: As i had no luck on