You should use something like this I think:
<img src="${data[owner.id].ANIME_URL}" alt="Anime Manga Poster"
border="0" />
On 18 maio, 22:42, Apurv Gupta <[email protected]> wrote:
> I am able to fetch app data for owner on
> profile.http://www.geocities.com/apurv_gupta_2000/test.xml
>
> On Tue, May 19, 2009 at 4:40 AM, anatoly <[email protected]> wrote:
>
> > It doesn't work.
> > I'm unable to fetch appdata for owner on profile.
>
> > I just check for null but there is additional functionality on profile
> > view which should be visible once I get valid app data there. I get
> > null both on sandbox and on orkut for profile view fetching appdata.
>
> > On May 19, 12:59 am, "api.sh" <[email protected]> wrote:
> > > Anatoly,
>
> > > I tried your gadget xml in sandbox and it works. I compared your osml
> > > tags in fetching appdata against the ones in this sample:
>
> > >http://wiki.opensocial.org/index.php?title=Building_a_simple_app_usin...
>
> > > There are differences that you might want to compare. But both the
> > > sample code and yours seem to work fine.
>
> > > -ss
>
> > > On May 4, 8:37 pm, anatoly <[email protected]> wrote:
>
> > > > anyone?
>
> > > > On May 2, 4:22 am, anatoly <[email protected]> wrote:
>
> > > > > Hello
>
> > > > > I use the following code:
> > > > > <script type="text/os-data" xmlns:os="http://ns.opensocial.org/2008/
> > > > > markup">
> > > > > <os:OwnerRequest key="owner" />
> > > > > <os:PersonAppDataRequest key="data" method="appdata.get"
> > > > > userId="@owner" appId="@app" fields="ANIME_URL" />
> > > > > </script>
>
> > > > > <script type="text/os-template" xmlns:os="http://
> > > > > ns.opensocial.org/2008/markup" xmlns:osx= "http://ns.opensocial.org/
> > > > > 2009/extensions">
> > > > > <br /><div style="text-align:center;" if="$
> > > > > {data.ANIME_URL != null}"><img src="${data.ANIME_URL}" alt="Anime
> > > > > Manga Poster" border="0" /></div>
> > > > > <br /><div style="text-
> > > > > align:center;"><osx:NavigateToApp>Select Anime Poster!</
> > > > > osx:NavigateToApp></div>
> > > > > </script>
>
> > > > > I get null for data.ANIME_URL.
>
> > > > > What is wrong?- Hide quoted text -
>
> > > - Show quoted text -
>
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---