Hi!

To switch between views:

function changeView(view, params)
{
gadgets.views.requestNavigateTo(view,params);
}

to use that:

changeView(views['canvas'], params); or changeView(views['profile'],
params);

You can use params to pass some information between views, and you can get
it using opensocial.getEnvironment().getParams();

Cheers,

--Robson

2008/9/24 Bhavin Suthar <[EMAIL PROTECTED]>

> Hello,
>
> I have created a small open social application with profile and canvas
> views. Profile view has few links and clicking on this links should display
> the content in canvas view. Can someone tell me how to construct the URL for
> these link?
>
> Thanks.
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to