Badaro, I think it is a bug, but if you write as: <script type="text/os-template" xmlns:os=" http://ns.opensocial.org/2008/markup"> <os:xNavigateToApp>VAI PRO CANVAS</os:xNavigateToApp> </script>
with the xmlns parameter, it will work. regards, Jota On Tue, Apr 7, 2009 at 11:38 AM, Badaro <bad...@gmail.com> wrote: > > I just tested again, and it's not working. Full source code here: > http://badaro.labone.net/ostemplates/gadget > > Can you provide the source code for a working App? Maybe I'm missing a > "Feature" tag, or something similar. > > On Apr 7, 10:57 am, Apurv Gupta <apurv.gu...@gmail.com> wrote: > > are you sure you were able to refresh the cache [bpc=1]? This should > > generate a <a> tag properly.It works. Test onhttp:// > sandbox.orkut.com/Main#Profile.aspx?uid=1516856904812640166&rl=t > > > > On Tue, Apr 7, 2009 at 7:22 PM, Badaro <bad...@gmail.com> wrote: > > > > > Apurv, > > > > > I tested in multiple ways, and none worked: > > > > > <os:xNavigateToApp>Send gift to a friend 1</os:xNavigateToApp> > > > <orkut:xNavigateToApp>Send gift to a friend 2</ > > > orkut:xNavigateToApp> > > > <os:NavigateToApp>Send gift to a friend 3</os:NavigateToApp> > > > <orkut:NavigateToApp>Send gift to a friend 4</ > > > orkut:NavigateToApp> > > > > > Is this not implemented in sandbox yet? Sample code here: > > >http://badaro.labone.net/ostemplates/gadget > > > > > Filipe Badaro > > > > > On Apr 7, 2:44 am, Apurv Gupta <apurv.gu...@gmail.com> wrote: > > > > Vince, > > > > Something like > > > > <os:xNavigateToApp>Send gift to a friend</os:xNavigateToApp> > > > > > > should take you to canvas view. Please note that we have to change > the > > > > namespace, to orkut:xNavigateToApp, so are withholding publishing > this > > > > formally. Meanwhile, you can try this out and let me know if this > doesn't > > > > work. > > > > > > In the same vein, os:xNavigateToPerson is also available. > > > > > > <os:xNavigateToPerson person="${Cur}"> > > > > <span class="name" > > > > id="id${Context.Index}">${Cur.name.givenName}</span> > > > > </os:xNavigateToPerson> > > > > > > Thanks, > > > > -apurv > > > > > > On Mon, Apr 6, 2009 at 9:14 PM, Vince <vincec...@gmail.com> wrote: > > > > > > > Using OS Templates, how do you switch views? I.e. If someone is > > > > > currently seeing my gadget in profile view, can I still provide a > link > > > > > that launches it in canvas view? > > > --~--~---------~--~----~------------~-------~--~----~ 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 opensocial-orkut+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/opensocial-orkut?hl=en -~----------~----~----~----~------~----~------~--~---