Bumping this up, it works fine now. I didn't change anything in the code.
Does anyone know what the problem was ?

On Mon, May 11, 2009 at 10:58 AM, Amit <[email protected]> wrote:

>
> Hey all,
>
> Can someone please point out to me what should i do differently to get
> profile views on sandbox .The canvas view is working properly.P.S.
> This is just a sample code from Opensocial wiki on templates.
>
> <?xml version="1.0" encoding="UTF-8"?>
> <Module>
>  <ModulePrefs title="Server-side Template">
>    <Require feature="opensocial-data" />
>        <Require feature="opensocial-0.8"/>
>    <Require feature="flash"/>
>        <Require feature="setprefs"/>
>        <Require feature="dynamic-height"/>
>    <Require feature="opensocial-templates">
>      <Param name="process-on-server">true</Param>
>    </Require>
>  </ModulePrefs>
>  <Content type="html" view="profile">
>  <![CDATA[
>  <script type="text/os-data" xmlns:os="http://ns.opensocial.org/2008/
> markup">
>  <os:ViewerRequest key="viewer" fields="name,gender"/>
> </script>
> <script type="text/os-template"  xmlns:os="http://ns.opensocial.org/
> 2008/markup <http://ns.opensocial.org/%0A2008/markup>">
>  <span class="${viewer.gender}"><b>Welcome ${viewer.name.givenName}</
> b></span>
> </script>
>  ]]>
> </Content>
> <Content type="html" view="canvas">
> <![CDATA[
>
> ]]>
> </Content>
> </Module>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Orkut Developer Forum" 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-orkut?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to