I've not done it with opensocial containers, but there is a trick in the GadgetRPC sample that should help. You will need to get the proxy URL for your RPC using the method:
gadgets.io.getProxyUrl()<http://code.google.com/apis/gadgets/docs/reference/#gadgets.io.getProxyUrl> The GadgetRPC sample is included in the download under the 'samples' directory. Note that gwt-gadgets-1.0.1 does not support the opensocial 0.8 spec (is that what you are using?) , only the legacy API. I don't know that the generated gadget.xml file is going to work for you without modification. On Mon, Jan 12, 2009 at 1:56 AM, falcon_whiz <[email protected]>wrote: > > Hi, > I have created an application using GWT and now I want to deploy > this app in opensocial containers. The problem is how do I use the > RPC's they are not working at the moment. Through Firebug I found that > no request is being sent to the servlets. I am also using gwt- > gadgets-1.0.1 api to generate the required xml file. > > > -- Eric Z. Ayers - GWT Team - Atlanta, GA USA http://code.google.com/webtoolkit/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" 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-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---
