RE: Passing HTTP request parameters to URL gadgets

2008-08-26 Thread vinod.pillai
ugust 26, 2008 2:14 PM To: shindig-dev@incubator.apache.org Subject: Re: Passing HTTP request parameters to URL gadgets Hi Vinod, I would advice to use solution #1. While it is possible to use solution #2, it would break all the OpenSocial calls since the domain / url of the gadget wouldn't

Re: Passing HTTP request parameters to URL gadgets

2008-08-26 Thread Chris Chabot
Hi Vinod, I would advice to use solution #1. While it is possible to use solution #2, it would break all the OpenSocial calls since the domain / url of the gadget wouldn't be the same as the social api server anymore, so ajax calls would be blocked, so you can't retrieve any social informa

RE: Passing HTTP request parameters to URL gadgets

2008-08-25 Thread vinod.pillai
Chris, Thanks for the prompt response. Since there was no mention of parameter passing in the gadget specification, I had a hunch that it may not be supported as yet. In the absence of a standard mechanism, I was planning to take one of the following routes:- 1) Instead of writing a URL gadget,

Re: Passing HTTP request parameters to URL gadgets

2008-08-25 Thread Chris Chabot
Hey Vinod, Currently that's not really possible unfortunately; There is a design discussion going on for how to solve these use cases by extending the templating proposal and allowing for such more clasic-style- webdevelopment, but that will be a little while more before that's in place.

Passing HTTP request parameters to URL gadgets

2008-08-25 Thread vinod.pillai
Hi, I am looking for a solution to pass request parameters to a URL gadget. Here is an example of what I am trying to do:- 1) I have a servlet that expects name in the HTTP request so that it can respond with a Hello message 2) I have created a URL gadget that points to my servlet like th