Thanks! Now it's working perfectly! Regards.
On Fri, Apr 17, 2009 at 8:45 AM, Apurv Gupta <apurv.gu...@gmail.com> wrote: > These have been renamed to osx:NavigateToApp. Please change your code.I > posted this in thread: > http://groups.google.com/group/opensocial-orkut/browse_thread/thread/bf876a4315d5938a?hl=en# > Repasting here: > > Hi Folks, > We have renamed the orkut specific functions and these are the stable > names. > You'll have to use a different namespace to use these: xmlns:osx= " > http://ns.opensocial.org/2009/extensions" > You can add this to your script tag > > The renamed functions are as follows: > > os:xNavigateToApp -> osx:NavigateToApp > os:xNavigateToPerson -> osx:NavigateToPerson > os:xParseJson() -> osx:parseJson() > os:xDecodeBase64() -> osx:decodeBase64() > os:xUrlEncode() -> osx:urlEncode() > os:xUrlDecode() -> osx:urlDecode() > > Please update your code to use them, and test them on sandbox. Once things > look settled, we'll start turning on the profile views on www.orkut.com > > Thanks, > -apurv > > P.S. e.g see the use of osx:NavigateToApp in the following snippet > > <script xmlns:os="http://ns.opensocial.org/2008/markup" xmlns:osx= " > http://ns.opensocial.org/2009/extensions" type="text/os-template" > require="viewer, vfriends"> <b>Owner ${owner.name.formatted}'s > friends</b> > ${owner.url} > <ul> > <li repeat="${ofriends.list}"> > ${Context.Index + 1}/${Context.Count}: ${name.familyName}, > ${name.givenName} > <b if="${Cur.name.givenName == Top.viewer.name.givenName}" > title="ID: > ${id}">(is this you, ${name.givenName}?)</b> > </li> > </ul> > <br><b>You were kicked by ${poker_data.name.givenName}</b><br> > <osx:NavigateToApp>Start Kicking</osx:NavigateToApp> > </script> > > On Thu, Apr 16, 2009 at 1:58 AM, Paulo Ferreira de Moura Junior < > paulo.mo...@gmail.com> wrote: > >> Hi all, >> >> is there any problem with <os:xNavigateToApp> processing? I have this >> template on my application inside the profile view content: >> >> <div class="gwt-Hyperlink ww-updatestream-elements" >> title="${Msg.updateStreamLocationTooltip}"> >> <os:xNavigateToApp>${update.location.locationName}</os:xNavigateToApp> >> </div> >> >> Everything was working fine, but suddenly my application stop showing any >> links to my application on profile view. I opened my HTML page source and >> there was no text where it should have the application link. The result was >> this: >> >> <div class="gwt-Hyperlink ww-updatestream-elements" title="Ver detalhes de A >> Grande Muralha"> >> >> >> >> >> >> </div> >> >> >> >> >> Following the Apurv Gupta's suggestion given in this message ( >> http://groups.google.com/group/opensocial-orkut/msg/f520ed9a702b6535 ), I >> removed the parameter sanitize from url an reloaded the page. Now, the >> text of links are rendered, but it's not possible to click on this text. >> When I looked at the HTML source, I noticed that the <os:xNavigateToApp> >> tags are not processed, so that's why they're removed on profile view >> (because of the sanitize parameter). This is a HTML fragment output without >> this parameter. >> >> <div class="gwt-Hyperlink ww-updatestream-elements" title="Ver detalhes de A >> Grande Muralha"> >> >> >> >> >> <os:xNavigateToApp>A Grande Muralha </os:xNavigateToApp> >> >> >> >> >> </div> >> >> Is anybody facing the same problem? >> >> Thanks! >> >> >> >> > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---