Re: Injecting EventBus with GIN

2010-11-01 Thread Jack
1.) You should use EventBus instead of SimpleEventBus in your I18NLabel. 2.) Is your MyWidgetGinjector really empty? If so, there should be at least one method that gets called during app initialization (onModuleLoad). So for example: @GinModules(MyWidgetClientModule.class) public interface MyWid

Re: Injecting EventBus with GIN

2010-11-01 Thread David Chandler
xworker, I think you want to inject type EventBus rather than SimpleEventBus in your I18NLabel constructor. But just to be clear, which class is reporting the no zero-args constructor err? On Mon, Nov 1, 2010 at 10:31 AM, xworker wrote: > Hi all > > Trying to inject the eventbus into a component

Injecting EventBus with GIN

2010-11-01 Thread xworker
Hi all Trying to inject the eventbus into a component but I'm getting the "has no default (zero args) constructor." error. Any clues what I'm doing wrong? Very new to GIN, so it might be trivial.. Here is my code: module: public class MyWidgetClientModule extends AbstractGinModule { pr