Comment by rj...@google.com:

Oh, and yes: UiBinder gets along just fine with MVP. One thing I want to  
start experimenting with is having binder instances injected by GIN, e.g.:

{{{
MyView extends Widget {
   public interface Binder extends UiBinder<MyView, Widget> {}
   private static final Binder defaultBinder = GWT.create(Binder.class);

   public MyView() {
     this(defaultBinder);
   }

   @Inject
   public MyView(Binder binder) {
     binder.createAndBindUi(this);
   }
}
}}}

Although this will require making UiFields public, which is kind of gross.

Are you running into any particular problems?



For more information:
http://code.google.com/p/google-web-toolkit/wiki/UiBinder

--~--~---------~--~----~------------~-------~--~----~
http://groups.google.com/group/Google-Web-Toolkit-Contributors
-~----------~----~----~----~------~----~------~--~---

Reply via email to