Vijaya,
after you "flip the switch", will we be unable to see content wrote by
javascript on the profile view even if we just use
opensocial.data.DataContext.getDataSet() commands?

See an example of my app converted below:

<script xmlns:os="http://ns.opensocial.org/2008/markup"; type="text/os-data">
    <os:OwnerRequest key="owner" fields="*" />
    <os:ViewerRequest key="viewer" fields="*" />
    <os:PersonAppDataRequest key="friends_data" method="appdata.get"
userId="@owner" groupId="@friends" appId="@app" fields="user_data,videos" />
    <os:PersonAppDataRequest key="owner_data" method="appdata.get"
userId="@owner" appId="@app" fields="user_data,videos" />
    <os:PeopleRequest key="friends" userId="@owner" groupId="@friends"
filterBy="hasApp" />
</script>
<script>
friends = opensocial.data.DataContext.getDataSet('friends');
var ct = '';
for(i=0; i<friends.totalResults; i++){
    ct += '<p><a href="javascript:void(0)" onclick="friendsfav('+ i +')">'+
friends.list[i].name.givenName+'
'+friends.list[i].name.familyName+'</a></p>';
    ct += '<div id="friendsfav_div_'+ i +'"></div>'
}
document.getElementById('friends_div').innerHTML = ct;
</script>



On Fri, Mar 20, 2009 at 2:23 AM, Vijaya <[email protected]> wrote:

>
> Hi,
> Currently we're allowing all content in the profile view on the
> sandbox, including templates. But this is only to let you test while
> you transition your changes. Very soon we'll be disabling all active
> content i.e. javascript, Flash, iFrames etc. from the profile view.
> All content in your profile view must be generated using only
> templates. I'll post a sticky note on the forum when we flip this
> switch on the sandbox.
>
> Thanks,
> Vijaya
> >
>

--~--~---------~--~----~------------~-------~--~----~
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