Im trying to create a website with a map using GAE and the GWT openlayers library. Im trying to implement it by using a MapWidget in the SiteNameWidget.ui.xml file, but i get the error below.
I've managed to get it working by using the RootPanel.get().add(MapWidget) approach, but i would like to be able to use the XML file approach, as is seems to be easier to manipulate the layout this way.
Anyone?
org.gwtopenmaps.openlayers.client.MapWidget has no default (zero args) constructor. To fix this, you can define a @UiFactory method on the UiBinder's owner, or annotate a constructor of MapWidget with @UiConstructor.