Hi, that's not completely true, OpenSocial and Shindig support inter gadget communication:
http://opensocial-resources.googlecode.com/svn/spec/1.1/Core-Gadget.xml#interGadgetEventing However, as you mentioned, using drag and drop between gadgets will probably not work because each gadget is rendered in it's own frame normally. -- Bastian 2011/2/15 Justin Wyllie <[email protected]> > > Hello AlvaroI think you are going to have a problem with this.Shindig afaik > does not support inter-gadget communication. It seems to have done so at one > point but it has been deprecated: > http://code.google.com/apis/gadgets/docs/pubsub.htmlThe developers on the > dev list [email protected] will know better than I if it will be > supported again in the future. > You might be able to use the existing rpc call mechanism to do it (I think > rpc.js) - but you'd have to modify the code. This thread seems to discuss > this: > http://www.devcomments.com/Inter-Gadget-communication-at110633.htmBut all > that would just be about messaging between gadgets - not a visual drag and > drop. > What are you planning to use for the visual drag and drop? I'd use jQuery > droppable or sortable but these won't work across frames, even, I think, on > the same domain. > Are you thinking about a feature on a portal you control? If so - and you > aren't looking for a general feature that would work with your gadgets on > other containers I would, for this case, completely fake it. I.e use 2 divs > instead of iframes and just do a standard drag and drop between those > points. (Google uses divs in some cases e.g. for feeds - visually the user > can't tell the difference). > Justin > > > > > Date: Mon, 14 Feb 2011 00:10:02 +0100> Subject: Interaction between > gadgets> From: [email protected]> To: [email protected]> > Hello!> > My situation: I have two gadgets and one gadget need to access the other> > gadget.> The user should can drag items from the first gadget and drop the > items over> the second gadget.> Time ago I read something about this but I > can't remember how to do. Perhaps> my memory is failing and it is not> > possible because I have been unable to find absolutely anything after> > several hours looking for in google.> > Thank you >
