Thanks Paul.
but still i could not get.
Let me explain my problem.
This is my url .....friend/apps/displayAppCanvas.do?
appId=xxx&userid=xxx&up_page=something.
In my xml, I am getting the page value as follows.
var prefs = new gadgets.Prefs();
var page=prefs.getString("page");
alert("Page-"+page);
But always I am getting the alert box with Page=undefined.
Plz help me.
On Feb 20, 11:59 pm, Paul Lindner <[EMAIL PROTECTED]> wrote:
> On Wed, Feb 20, 2008 at 04:04:15AM -0800, raj wrote:
>
> > I am a novice to open social.
> > How to pass the parameters as query string and how to get that
> > parameters using open social 0.7?
> > Kindly help me
>
> gadgets.views.getParams() will return data submitted as part of a
> requestNavigateTo request.
>
> The Shindig gadget server supports this by adding a view-params
> attribute to the query string with escaped json content. For hi5
> we're allowing the same view-params attribute for our canvas display
> url, other container implementations may differ.
>
> Otherwise you can also use UserPrefs to accomplish the same thing.
> Just add up_attribute=value to the query string and proceed from
> there.
>
> --
> Paul Lindner
> hi5 Architect
> [EMAIL PROTECTED]
>
> application_pgp-signature_part
> 1KDownload
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"OpenSocial Application Development" 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/opensocial-api?hl=en
-~----------~----~----~----~------~----~------~--~---