upgrading to GWT 2.1 and UIBinder problems

6 views
Skip to first unread message

alexh

unread,
Nov 19, 2010, 11:51:34 PM11/19/10
to GWT Presenter
I have a project that was working just fine with GWT 2.0 using gwt-
presenter and UIBinder. Now that I have upgraded to both GWT 2.1 and
gwt-presenter 1.1.1 I'm having an odd problem with using UIBinder in
my views.

I have my declared as follows:

public class ProfileView extends Composite implements
ProfilePresenter.Display {
private final EventBus eventBus;
interface Binder extends UiBinder<Widget, ProfileView> {
}

private static final Binder binder = GWT.create(Binder.class);

@UiField
SimplePanel successPanel;
...
}

In STS I get an error showing up by the successPanel variable
mentioning it has no corresponding field in ProfileView.ui.xml.

At runtime I get a binding exception getting thrown likely because the
xml file isn't being found.

Is there something wrong with my declaration above or has something
else changed with GWT 2.1 or gwt-presenter 1.1.1 that I may be
overlooking?

Thanks
Reply all
Reply to author
Forward
0 new messages