Re: how to implement requestsendmessage

2008-12-09 Thread Rodrigo Gallardo
On Tue, Dec 09, 2008 at 10:34:01AM -0800, Adam Winer wrote: > On Tue, Dec 9, 2008 at 7:46 AM, jochen delqi <[EMAIL PROTECTED]> wrote: > > Hi guys, > > > > I'm wondering about how to implement the > > opensocial.Container.prototype.requestSendMessage service. > > > At the moment, you'd need to overr

Re: how to implement requestsendmessage

2008-12-09 Thread Adam Winer
At the moment, you'd need to override requestSendMessage() in a custom subclass. I think, though, the default implementation should really be to send an RPC to the containing page, something like: opensocial.Container.prototype.requestSendMessage = function(recipients, message, opt_callback,

how to implement requestsendmessage

2008-12-09 Thread jochen delqi
Hi guys, I'm wondering about how to implement the opensocial.Container.prototype.requestSendMessage service. What we want to do is just send a message as soon as a gadget asks us with the requestSendMessage method. However, in container.js this returns a not-implemented response. How do we redire