Re: gin + Javascript Overlay types

2009-09-02 Thread Sumit Chandel
Hi Jeff,
I haven't used the GIN library extensively enough to know how it would
handle binding JSO types offhand, but you might have better luck getting a
useful reply on the google-gin discussion group if you haven't posted there
already.

Google GIN Discussion Group:
http://groups.google.com/group/google-gin

http://groups.google.com/group/google-ginCheers,
-Sumit Chandel

On Sat, Aug 29, 2009 at 6:01 PM, Jeff Chimene jchim...@gmail.com wrote:


 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 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
-~--~~~~--~~--~--~---



Re: gin + Javascript Overlay types

2009-09-02 Thread Jeff Chimene

On 09/02/2009 10:37 AM, Sumit Chandel wrote:
 Hi Jeff,
 
 I haven't used the GIN library extensively enough to know how it would
 handle binding JSO types offhand, but you might have better luck getting
 a useful reply on the google-gin discussion group if you haven't posted
 there already.
 
 Google GIN Discussion Group:
 http://groups.google.com/group/google-gin
 
 http://groups.google.com/group/google-ginCheers,
 -Sumit Chandel

Hi Sumit:

I haven't used Gin extensively enough to realize there is a Gin list ...

/me sighs

Thanks for the pointer!

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---