Hi,
Is it expected that the following binding to a JSO type would fail?
bind(Jsot.class).in(Singleton.class)
The issue is: "Deferred binding failed for
'com.google.gwt.core.client.JavaScriptObject"
The get() method in the JSO type is
public final native Jsot get() /*-{
return this;
}-*/;
However, if I create the following binding:
bind(Jsot.class).toProvider(JsotProvider.class)
that has the following get() method
private Jsot jsot;
public Jsot get() {
return jsot;
}
everything is copacetic.
Thomas Broyer and I were talking earlier about using Provider methods
with JSO types. He mentioned the @Provides annotation, but I cannot get
that to work either.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---