You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shindig.apache.org by "Kevin Brown (JIRA)" <ji...@apache.org> on 2008/03/03 09:52:50 UTC
[jira] Closed: (SHINDIG-104) How does container make user data
available to gadget
[ https://issues.apache.org/jira/browse/SHINDIG-104?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kevin Brown closed SHINDIG-104.
-------------------------------
Resolution: Invalid
Closing this because it's not an issue, it's a question.
Please direct all questions about shindig to shindig-dev@incubator.apache.org. JIRA is for tracking bugs, feature requests, or other project improvements.
> How does container make user data available to gadget
> ------------------------------------------------------
>
> Key: SHINDIG-104
> URL: https://issues.apache.org/jira/browse/SHINDIG-104
> Project: Shindig
> Issue Type: Test
> Components: OpenSocial
> Environment: windows, asp.net 2.0
> Reporter: Robby Zhu
> Assignee: Cassie Doll
>
> Hi,
> I am trying to figure out where the data for the gadget code below will come from in the container site we are setting up. I've pasted my code below my questions.
> My questions:
> a. Where does the data come from?
> b. Does it come from url query #st=...? --(i saw it's encoded)
> c. How does container make the user data available for the "#st" value?
> d. How does gadget server parse "#st" value?
> There is a function in a gadget document:/file. Here's the code....
> function onLoadFriends(data) {
> var viewer = data.get('viewer').getData();
> var viewerFriends = data.get('viewerFriends').getData();
> html = new Array();
> html.push('<ul>');
> viewerFriends.each(function(person) {
> html.push('<li>' + person.getDisplayName() + "</li>");
> });
> html.push('</ul>');
> document.getElementById('friends').innerHTML = html.join('');
> }
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.