2 Replies Latest reply on Jun 3, 2013 12:42 PM by xybrek

    Making Errai work with GXT

    xybrek Newbie

      I'm getting this error when trying to use Sencha GXT with Errai:

       

      [ERROR] Caused by: org.jboss.errai.codegen.exception.GenerationException: The method 'getAssociatedType()' in the event [ClickEvent] does not return Type<? extends EventHandler>..

      [ERROR]      at org.jboss.errai.ui.rebind.DecoratorTemplated.getHandlerForEvent(DecoratorTemplated.java:447)

      [ERROR]      at org.jboss.errai.ui.rebind.DecoratorTemplated.generateEventHandlerMethodClasses(DecoratorTemplated.java:318)

      [ERROR]      ... 38 more

       

      For:

       

      @Inject

      @DataField

      TextField text;

       

      Is there a workaround with making Errai work with GXT?

       

      Also, I would like to know the limitation in integrating these two nice framework.