Hi Swapnil. Yes, Raman's right. Prototype's AJAX library wouldn't work in the context of an OpenSocial application because the app specification is rendered on gmodules.com. Since your server-side scripts do not reside on gmodules.com, your app won't be able to fetch them using XHR since this would violate the browser's cross-domain policy. I'm afraid you'll have to use makeRequest to issue asynchronous HTTP requests to your back-end.
- Jason On Oct 13, 8:55 pm, "Swapnil Shinde" <[EMAIL PROTECTED]> wrote: > Hi Jason, > I had written a lot of code which runs on our server. This code heavily uses > the prototype.js library's AJAX.Updater class for making a call to a URL on > our server and accordingly updating a DIV on the page. I would like to > re-use all this code in orkut. I included the prototype library in orkut XML > but I see that all calls to AJAX.Updater DO NOTHING. > > One reason why this might not work is that AJAX.Updater is NOT using > makeRequest call required in orkut to query remote API. Any idea how we can > re-use the existing code, which uses prototype library's AJAX.Updater > class?. I would think this is a very common scenario and someone should > already have addressed it by now. > > Please let us know as soon as you can as we are BLOCKED on this. > > Thanks, > Swapnil --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Orkut Developer Forum" group. To post to this group, send email to opensocial-orkut@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/opensocial-orkut?hl=en -~----------~----~----~----~------~----~------~--~---