[orkut-developer] Re: Problem with "gadgets.views.getParams()" ??

2008-02-11 Thread Vanessa
I tried using navigateto today and it does work when I don't pass any parameters to navigation's next view but when I try to pass them, I get an empty object. Here is the code I'm using: canvas function goto(){ var current_view = gadgets.views.getCurrentView();

[orkut-developer] Re: Problem with "gadgets.views.getParams()" ??

2008-02-10 Thread Jim
Yeah, today this feature starts working... you will get the parameter string in the format "key1=value1&key2=value2" On Feb 10, 5:36 am, "Arne Roomann-Kurrik" <[EMAIL PROTECTED]> wrote: > Hi Nikhil, > >Use the following code to request navigation between views: > > gadgets.views.requestNavi

[orkut-developer] Re: Problem with "gadgets.views.getParams()" ??

2008-02-09 Thread Arne Roomann-Kurrik
Hi Nikhil, Use the following code to request navigation between views: gadgets.views.requestNavigateTo(new gadgets.views.View("profile")); or gadgets.views.requestNavigateTo(new gadgets.views.View("canvas")); Make sure you have require feature="views" specified as well. Hope this helps, ~

[orkut-developer] Re: Problem with "gadgets.views.getParams()" ??

2008-02-09 Thread :nikhil_gupte
Has this been sorted yet? If yes, I'm not being able to redrect using the following code: gadgets.views.requestNavigateTo(gadgets.views.ViewType.FULL_PAGE,'key1=value1'); Am I missing anything? On Feb 8, 12:14 pm, Jerome <[EMAIL PROTECTED]> wrote: > I had the same problem this afternoon during

[orkut-developer] Re: Problem with "gadgets.views.getParams()" ??

2008-02-07 Thread Jerome
I had the same problem this afternoon during the Hackathon, the bug has been reported to the engineer. jerome On Feb 7, 9:38 pm, Jim <[EMAIL PROTECTED]> wrote: > Thanks a lot mate ;) > > But it seems to be the "gadgets.views.requestNavigateTo() " is not > working!! > > I tried the following code

[orkut-developer] Re: Problem with "gadgets.views.getParams()" ??

2008-02-07 Thread Jim
...and the view was never shifted to CANVAS ~ Jim --~--~-~--~~~---~--~~ 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 unsubscri

[orkut-developer] Re: Problem with "gadgets.views.getParams()" ??

2008-02-07 Thread Jim
Thanks a lot mate ;) But it seems to be the "gadgets.views.requestNavigateTo() " is not working!! I tried the following code... var views = gadgets.views.getSupportedViews(); gadgets.views.requestNavigateTo(views.canvas,'key1=value1') I can see some request is going (with tamp

[orkut-developer] Re: Problem with "gadgets.views.getParams()" ??

2008-02-07 Thread Jason
Hi Jim. According to the updated specification, gadgets.views.getParams() returns only those parameters passed into gadgets.views.requestNavigateTo() -- all other URL parameters are ignored. Is there any way you can implement your gadget's functionality without these parameters? If you provide so