You can't do XHR requests directly from within a gadget, you need to use gadgets.io.makeRequest to do XHR-like calls.
http://code.google.com/apis/opensocial/docs/0.7/reference/gadgets.io.html Thanks, -joe -- Joe Gregorio Developer Relations, Google Wave 2010/5/31 Raphaël Pinson <[email protected]>: > Hello, > I have a Wave Gadget which fails to load, and it seems to fail on an RPC > request. I can't figure out what's wrong with it. The URL of the gadget > is http://2.latest.flammard.appspot.com/assets/preferences.xml. > Does someone know what's wrong with this code? > > Thank you in advance, > Raphaël Pinson > > -- > You received this message because you are subscribed to the Google Groups > "Google Wave API" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/google-wave-api?hl=en. > -- You received this message because you are subscribed to the Google Groups "Google Wave API" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-wave-api?hl=en.
