Hallo,
I basically have a Widget interface MapWidget<K,V> which provides Map-
Methods K -> V and extends IsWidget.
If I put it in my template like this:
<h:MapWidget ui:field="map"></h:MapWidget>
And put in my respective owner class
public class Blubb {
interface MyBinder extends UiBinder<MapWidget<String,String>, Blubb>{}
MyBinder binder = GWT.create(MyBinder.class);
@UiField(provided = true)
MapWidget<K,V> map;
public Blubb(MapWidgetImplementation widget){
map = widget;
binder.createAndBindUi(this);
}
}
I get an Exception that MapWidget should not be abstract (Exception
while binding)
But shouldn't this work, as long as I have (provided = true) and
acually pass in a concrete Implementation that extends Composite???
I hope someone can clarify this for me :-)
Greetings,
Pete
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en.