[
https://issues.apache.org/jira/browse/SHINDIG-1842?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ryan Baxter deleted SHINDIG-1842:
---------------------------------
> Embedded Experience does not work for type url gadgets
> ------------------------------------------------------
>
> Key: SHINDIG-1842
> URL: https://issues.apache.org/jira/browse/SHINDIG-1842
> Project: Shindig
> Issue Type: Bug
> Reporter: Padraic Edwards
> Labels: features
>
> I have a gadget that is a type url gadget. It's href is pointing to a html
> page. In that html page i have a script which loads the client side libraries
> and some code to try to receive EE info and output it to the console. A
> sample of the contents of my html page is below
>
> gadgets.util.registerOnLoadHandler(registerContext());
>
> function registerContext(){
> console.log("register Context")
> try{
>
> opensocial.data.getDataContext().registerListener('org.opensocial.ee.context',
> fetchDataKey());
>
> }catch(e){
> console.log(e);
> }
> }
>
> function fetchDataKey(key){
> console.log("fetchDataKey" + key);
> var value =
> opensocial.data.getDataContext().getDataSet(key);
> console.log("register value" + value);
> }
> However I do not see the context value getting passed to the html page. Looks
> like a bug or am I missing something?
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira