Re: IDEs, Dagger2 and annotationProcessorPaths

2016-12-14 Thread Ignacio Baca Moreno-Torres
I prefer to use maven-processor-plugin because I usually get better IDE integration. I use intellij, but from time to time I'll try it in eclipse and I think it work. https://github.com/ibaca/gwt-dagger2-coffee/blob/master/pom.xml On Thu, Dec 15, 2016 at 2:49 AM Juan Pablo Gardella < gardellajuanp

Re: IDEs, Dagger2 and annotationProcessorPaths

2016-12-14 Thread Juan Pablo Gardella
Check http://stackoverflow.com/a/35744298/741689 On Wed, 14 Dec 2016 at 20:03 Raphael André Bauer < raphael.andre.ba...@gmail.com> wrote: > Hi, > > > I am just playing around with GWT 2.8 and Dagger 2.8. I added Dagger 2 > via the compiler plugin and the Dagger compiler to > annotationProcessorP

IDEs, Dagger2 and annotationProcessorPaths

2016-12-14 Thread Raphael André Bauer
Hi, I am just playing around with GWT 2.8 and Dagger 2.8. I added Dagger 2 via the compiler plugin and the Dagger compiler to annotationProcessorPaths. When running mvn compile on the command line everything is fine. The generated DaggerMyAppComponent is generated properly and can be used in the

Re: CustomButton implementation leads to incorrect handling of PushButton by screen readers

2016-12-14 Thread Julio Feferman
Created issue https://github.com/gwtproject/gwt/issues/9471 which references the patch. -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr

Re: How to make sure object is set before initWidget()

2016-12-14 Thread Olar Andrei
Hello, I have done like you said it. But I have another problem now. As you can see the setUsername() method sets the username, and by using a simple alert I've checked and it's correct. BUT that method does not get called before the constructor, that means that initWidget() gets called first,

Re: Strange ClassCastException with GWT 2.8 and SDM

2016-12-14 Thread Kirill Prazdnikov
Hi It seems here you are trying to cast a native js object to java type. Sometimes GWT generates ClassCastException when I cast type "@JsType(isNative=true) A" to type B which is also native type. This is also kind of magic for me and I also have a strange workaround: write a native method th

Strange ClassCastException with GWT 2.8 and SDM

2016-12-14 Thread Norbert Bartels
Hi all, I’m migrating our GWT app to GWT 2.8 as a PoC because we like to use the SDM. While testing the SDM I see some strange ClassCastExceptions in the console. We use gxt 2 and changed some things to make it work with GWT > 2.5.1. Here’s the error message (stacktrace) of the the class cas