Hi All, I am working on a native client for google wave. I'm currently trying to get gadgets rendering.
I see that each gadget is rendered in an iframe. The url for the iframe looks like: https://1927502848-wave-opensocial.googleusercontent.com/gadgets/ifr?container=wave&v=e5fd6071d26f6a667d99a4865f730e0&lang=en&country=ALL&view=default&url=http://gadget-doc-examples.googlecode.com/svn/trunk/wave/state-test.xml&libs=core:rpc&mid=1927502848&nocache=1&mid=1927502848&parent=https://wave.google.com&wave=1&waveId=wavesandbox.com!w%2BLJnnwF4NA#rpctoken=-4759553629270689016&st=e%3DAHc%252FuhraKT8TvTe3jjdYCcwYazMixecRRPMgxNuedz9CqV2IKmCKIsLQR84KX8fyTk8LDgcC2q5A1BFtpksF6G1JYsH9WBn51HHS%252F6YGcYqZjPZnU60V03be4qKJvGohsGSWY72L8MKfp%252FMN2kxqRTmc621Cg7QzT9NqP085u%252BaBEA6Pqi8X8NQCDbgXv%252BPb5IwrTEPtrGvSeglJG9dXJ%252BaC77Ky0Pz2KRDIlovol4hs0%252FZjI5ZJVZh%252BwGWEC5jj6EXg96Z492RtkQT1HFM1JBESt58lqQjrclOKsXktlqNnA6jDTtjuB3AqcSLzmzH0UzS0%252FgStyXNX%26c%3Dwave The generated html for the gadget in the iframe references two js files: - https://www-wave-opensocial.googleusercontent.com/gadgets/js/core:rpc.js?v=5877bbfd0dc188b5d7a3287f91b069&container=wave&debug=0 - http://wave-api.appspot.com/public/wave.js If you follow the initialization logic, you will find that eventually callbacks are registered with gadgets.rpc using the register function for state and participant changes. gadgets.rpc has a functions called "receive" which fires the appropriate callback. However, I can't figure out who calls the "receive" function. Q: Is the "receive" function called by the html/js on the parent document (document finds that state is updated and calls the gadgets.rpc.receive function) or is the receive function triggered "out of band" where the wave server directly "calls" the "receive" function when the state changes? Thanks in advance for any help. Regards Matt -- You received this message because you are subscribed to the Google Groups "Google Wave API" group. To post to this group, send email to google-wave-...@googlegroups.com. To unsubscribe from this group, send email to google-wave-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-wave-api?hl=en.