Hi Nitin, I think u are passing some integer value for video. For some weird reason some integer value does not work with app parameter. I faced similar problem with my application. I am appending a constant string value before my integer value while passing the parameter and then after getting that parameter value I am removing that constant string to get the integer value.
Thanks, Nitin www.ShopNdShout.com (flaunt your shopping) On Fri, Jul 18, 2008 at 2:45 AM, Nitin Dhawan <[EMAIL PROTECTED]> wrote: > Hi Aakash, > That didnt work either. > > Thanks, > -Nitin > > > On Fri, Jul 18, 2008 at 2:40 AM, Aakash Bapna <[EMAIL PROTECTED]> wrote: > >> Hi Nitin, >> >> try using like this- >> >> *var params = gadgets.views.getParams();* >> *var video = params.video; >> * >> >> Thanks >> >> [EMAIL PROTECTED] <[EMAIL PROTECTED]> >> http://aakash-bapna.blogspot.com >> >> >> ------------------------------ >> >> Date: Fri, 18 Jul 2008 02:04:45 +0530 >> From: [EMAIL PROTECTED] >> To: opensocial-orkut@googlegroups.com >> Subject: [orkut-developer] gadgets.views.getParams() Doubt! >> >> >> >> Hello, >> This is how I am trying to use it. >> >> var params = gadgets.views.getParams(); >> var video = params["video"]; >> but video is empty >> >> This is the URL that is generated. >> >> http://sandbox.orkut.com/Application.aspx?appId=951686900990&appParams=%7B%22video%22%3A1%7D&uid=16535182715711573215&bpc=1 >> (there is a video=1 in the URL) >> I am using <Require feature="views" /> also. >> >> I guess I am missing something silly. One thing that comes to my mind is I >> switched to canvas view with parameters. >> var canvas_view = new gadgets.views.View("canvas"); >> var params = {}; >> params["video"] = id; >> gadgets.views.requestNavigateTo(canvas_view, params); >> >> But my Application does not have any canvas view (as of yet). It has a >> generic view. So am I loosing params because of that? >> (all the other things in view are running fine). >> >> Thanks, >> -Nitin >> >> -- >> -----BEGIN GEEK CODE BLOCK----- >> Version: 3.12 >> GCS d- s: a23>? C++ UL+>+++ P+>+++ L++ E--->+ W++ N- o? K? w+>+++ O? M? V? >> PS>++ PE- Y? PGP- t+ 5? X? R tv- b+ DI+ D G e++ h-- r-- y-- >> ------END GEEK CODE BLOCK------ >> I understand my tests are popular reading in the teachers' lounge. >> -Calvin & Hobbes >> >> >> > > > -- > -----BEGIN GEEK CODE BLOCK----- > Version: 3.12 > GCS d- s: a23>? C++ UL+>+++ P+>+++ L++ E--->+ W++ N- o? K? w+>+++ O? M? V? > PS>++ PE- Y? PGP- t+ 5? X? R tv- b+ DI+ D G e++ h-- r-- y-- > ------END GEEK CODE BLOCK------ > I understand my tests are popular reading in the teachers' lounge. > -Calvin & Hobbes > > > > --~--~---------~--~----~------------~-------~--~----~ 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 unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/opensocial-orkut?hl=en -~----------~----~----~----~------~----~------~--~---