hi,
example:
{
friends : [
{
name: 'David',
interests: 'Cooking',
},
{
name: 'Charles',
interests: 'Hiking',
},
{
name: 'Mary',
interests: 'Football',
},
]
}
By referring to Open Social Templates Developers's Guide in 'Fetching
data from a URL ' section the above example is copied to a file and
uploaded to server, and using <os:HttpRequest> tag like,
<os:HttpRequest key="friends" href="http://www.servername/foldername/
filename" authz="signed" refreshInterval="1" />
and by using " <li repeat="${friends}"> " data is iterated and the i
tried to print the values for name and interests which gives result
'blank'.
As ${Cur.name} and ${Cur.interests} is displayed blank and i tried to
give as ${friends.content.friends.name} and :$
{friends.content.friends.interests} to get values for name and
interests but even this displayed as 'blank'.
how to get values for name and interests of all 3 rows from the file
which is uploaded to server?
reg,
Arun.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---