The callback should automatically resolve in the gadget since the CALLBACK_NAME'd service is registered by default in rpc.js. Do _any_ gadgets.rpc calls work for you?
On Mon, May 11, 2009 at 5:16 PM, Jordan Zimmerman <[email protected]> wrote: > >What you're doing looks correct to me. Are you getting any errors when > you > >invoke the callback? What browser are you using? > > No, no errors. Also, I've debugged into the callback and I can see that > the message is being posted. I'm using FF 3.0.10. > > Am I correct that I need to register to the callback in the gadget ala: > > gadgets.rpc.register(gadgets.rpc.CALLBACK_NAME, _my_handler); > > Jordan Zimmerman > Principal Software Architect > 831.647.4712 > 831.214.2990 (cell) > [email protected] > > SHOP*COMTM > Shop Smart, Save Big(tm) > www.shop.com > > This message (including any attachments) is intended only for > the use of the individual or entity to which it is addressed and > may contain information that is non-public, proprietary, > privileged, confidential, and exempt from disclosure under > applicable law or may constitute as attorney work product. > If you are not the intended recipient, you are hereby notified > that any use, dissemination, distribution, or copying of this > communication is strictly prohibited. If you have received this > communication in error, notify us immediately by telephone and > (i) destroy this message if a facsimile or (ii) delete this > message > immediately if this is an electronic communication. > > Thank you. >

