andydoroga1989 / gwt-google-apis

Automatically exported from code.google.com/p/gwt-google-apis
0 stars 0 forks source link

gadgets.rpc support in Gadget API #390

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Found in Release:
gwt-gadgets-1.2.0

Detailed description:
There is a missing gadget feature that was not put into the Gadget 1.2.0 
release.  The gadget.rpc.* set of apis allow you to send messages between 
gadgets, or between the gadget and the container. 

Unfortunately, since these methods can take multiple arguments and the callback 
can return multiple types, the API is not a simple problem of wrapping.  What I 
envision is that this feature will require some special generator support, with 
developers declaring an interface for the RPC call and callbacks, then the 
generator creating specific jsni implementations to implement those interfaces.

Workaround if you have one:
Manually create your own JSNI wrappers for using the RPC feature.

Links to the relevant GWT Developer Forum posts:

Original issue reported on code.google.com by zundel@google.com on 24 Jun 2010 at 3:12