Hey, so I've been attempting to work with UiBinder with GWT 2.0 and
can't seem to see why my module will not compile. Does anyone see
anything I'm doing wrong? Thanks

Query.gwt.xml
<module rename-to='query'>
  <inherits name='com.google.gwt.user.User'/>
  <inherits name='com.google.gwt.uibinder.UiBinder'/>
  <entry-point class='com.xx.client.Query'/>
</module>

Query.java
public class Query implements EntryPoint {
        interface Binder extends UiBinder<DockLayoutPanel, Query> { }
        private static final Binder binder = GWT.create(Binder.class);

  public void onModuleLoad() {
            DockLayoutPanel outer = binder.createAndBindUi(this);

            RootLayoutPanel root = RootLayoutPanel.get();
            root.add(outer);
            root.layout();
  }
}

And the error:
java.lang.RuntimeException: Deferred binding failed for
'com.xx.client.Query$Binder' (did you forget to inherit a required
module?)
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to