YEAH! It works!!!
tks,
Jota
On Tue, Apr 7, 2009 at 2:20 AM, Apurv Gupta wrote:
> no - you can use os:xParseJson in an expression to interpret app data.
> e.g.
> userId="@owner" appId="@app" fields="user_data,videos" />
>
> ${os:xParseJson(owner_data[owner.id]).json_key}
> will give you the js
no - you can use os:xParseJson in an expression to interpret app data.e.g.
${os:xParseJson(owner_data[owner.id]).json_key}
will give you the json_key.
On Tue, Apr 7, 2009 at 12:55 AM, Jota wrote:
> Sorry Apurv, but how can I use this function?
>
> Do I need to change my current code below:
>
>
Sorry Apurv, but how can I use this function?
Do I need to change my current code below:
to a new call like that? (I know it's not working)
How do I call this function on my gadget?
regards,
Jota
On Sun, Apr 5, 2009 at 1:33 PM, apurv wrote:
>
>
> "${owner_data[owner.id]}"
> should giv
"${owner_data[owner.id]}"
should give you the Json data as string.
Use os:xParseJson to convert it into a JSON object and then you can
reference fields inside it.
[http://svn.apache.org/repos/asf/incubator/shindig/trunk/java/common/
src/main/java/org/apache/shindig/expressions/OpensocialFunctio
Hi Eduardo,
1- no good...
2- I've tried this before and it works fine using Javascript Data Pipeline,
but after the profile "big bang" to accept just "os/template", it stops!
Find below the Javascript that I had used to get data from the SAME JSON:
owner_data = opensocial.data.DataContext.getD
1. Have you tried just ${title}?
2. Maybe you can open the IFrame in Firebug and use the javascript API
for Data Pipeline to debug the data format, have you tried that?
On 1 abr, 12:40, Jota wrote:
> Hi Eduardo,
> thanks for your suggestion, but it's not printing anything too...
>
> Anyone, ple
Hi Eduardo,
thanks for your suggestion, but it's not printing anything too...
Anyone, please HELP ME!!!
[]'s,
Jota
On Wed, Apr 1, 2009 at 12:13 AM, eduardorochabr wrote:
>
> Have you tried the following?
>
>
>${Cur.title}
>
>
> On 31 mar, 16:06, Jota wrote:
> > Hi Vijaya,
> > I've tried
Have you tried the following?
${Cur.title}
On 31 mar, 16:06, Jota wrote:
> Hi Vijaya,
> I've tried this way but I'm still having problems...
>
> I've tried:
> ${owner_data[owner.id][videos][title]}
> ${owner_data[owner.id][videos].title}
> ${owner_data[owner.id][videos.title]}
> ${owner_d
Hi Vijaya,
I've tried this way but I'm still having problems...
I've tried:
${owner_data[owner.id][videos][title]}
${owner_data[owner.id][videos].title}
${owner_data[owner.id][videos.title]}
${owner_data[owner.id][videos[title]]}
${owner_data[owner.id][videos][0].title}
${owner_data[owner.id][vide
To parse, the JSON data, you can use something like: ${owner_data
[owner.id][videos]}
--~--~-~--~~~---~--~~
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-ork
10 matches
Mail list logo