See documentation on the 'process' function in the source ( http://svn.apache.org/viewvc/incubator/shindig/trunk/features/src/main/javascript/features/rpc/rpc.js?revision=762984&view=markup )
This should probably be moved to register to more closely match the calling API I suppose. On Wed, Apr 8, 2009 at 10:13 AM, Jordan Zimmerman <[email protected]> wrote: > *bump* > > What are the values passed to the handler? How can I get the iframe ID > or any value that allows resolution to the iframe that posted the > message? > > Jordan Zimmerman > Principal Software Architect > 831.647.4712 > 831.214.2990 (cell) > [email protected] > > SHOP*COMTM > Shop Smart, Save Big(tm) > www.shop.com > > > -----Original Message----- > From: Jordan Zimmerman [mailto:[email protected]] > Sent: Monday, April 06, 2009 5:11 PM > To: [email protected] > Subject: RE: > http://cwiki.apache.org/SHINDIGxSITE/how-to-support-features-that-depend > -on-gadgetsrpc.html<http://cwiki.apache.org/SHINDIGxSITE/how-to-support-features-that-depend%0A-on-gadgetsrpc.html> > > How does the handler passed to gadgets.rpc.register() get context for > the gadget? i.e. how does it know which gadget on the page is the > caller? It seems there is a structure passed that has a few fields, but > none of them correspond to anything I'm familiar with. Getting the > application ID or module ID would be nice. > > 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. >

