Hi, I do not think this is possible. I suppose the URLs are processed at server side and included in the gadget and hence you can not effect them using some sort of JavaScript. I have seen developers use iframe to do, what you intend to do. But the disadvantage of using Iframes is you can only pass the information first time to the iframe, but say if you want to write to the activity stream, it is not possible to do so from within the iframe.
Best, Rohit Google Developer Programs Join us at Google's biggest developer event of the year May 28-29, San Francisco http://code.google.com/events/io On Tue, Jun 3, 2008 at 9:27 AM, siva <[EMAIL PROTECTED]> wrote: > > Hi, > Is it possible to send dynamic url for content type href value? > > Example :- > > <script> > var server_url=""; > > function init() { > //Set the owner id so we don't have to use it later > var personId = opensocial.DataRequest.PersonId.OWNER; > server_url="http://www.example.com/opensocial/osMain.jsp? > personId="+personId > } > init(); > </script> > > <Content type="url" href="{server_url}"> > > Please guide me how to pass dynamic URL in content type. > > Thanks, > Siva > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "OpenSocial Application Development" group. To post to this group, send email to opensocial-api@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-api?hl=en -~----------~----~----~----~------~----~------~--~---