I also tried this but no display :(
<?xml version="1.0" encoding="UTF-8"?>
<Module>
<ModulePrefs title="Server-side Template">
<Require feature="opensocial-data" />
<Require feature="opensocial-templates">
<Param name="process-on-server">true</Param>
</Require>
</ModulePrefs>
<Content type="html">
<![CDATA[
<script xmlns:os="http://ns.opensocial.org/2008/markup"
type="text/os-data">
<os:PeopleRequest key="friends" userId="@viewer"
groupId="@friends"/>
</script>
<script type="text/os-template">
<ul>
<li repeat="${friends}">
<span id="id${Context.Index}">${Cur.name.givenName}</span>
</li>
</ul>
</script>
]]>
</Content>
</Module>
On Mar 20, 10:30 pm, Bijoy Thangaraj <[email protected]> wrote:
> I tried to run this sample app in orkut sandbox but I am not getting
> anything in the view. Could you please help?
>
> <?xml version="1.0" encoding="UTF-8"?>
> <Module>
> <ModulePrefs title="Server-side Template">
> <Require feature="opensocial-data" />
> <Require feature="opensocial-templates">
> <Param name="process-on-server">true</Param>
> </Require>
> </ModulePrefs>
> <Content type="html">
> <![CDATA[
> <script type="text/os-template">
> <div>Hello ${Viewer.displayName}</div>
> </script>
> ]]>
> </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
-~----------~----~----~----~------~----~------~--~---