shindig-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Lindner (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (SHINDIG-1369) Gadget-and-container JS framework (part 2)
Date Mon, 09 Aug 2010 05:01:33 GMT

     [ https://issues.apache.org/jira/browse/SHINDIG-1369?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Paul Lindner resolved SHINDIG-1369.
-----------------------------------

    Fix Version/s: 2.0.0-RC1
       Resolution: Fixed

code was committed.


> Gadget-and-container JS framework (part 2)
> ------------------------------------------
>
>                 Key: SHINDIG-1369
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-1369
>             Project: Shindig
>          Issue Type: New Feature
>          Components: Javascript 
>            Reporter: Michael Hermanto
>             Fix For: 2.0.0-RC1
>
>
> This introduces a standalone OSAPI methods to access gadget metadata from back-end. 
> Per discussion with Paul, this will work with JSON requests and responses that look like
below.
> Request --
> [{
>   "method":"gadgets.metadata.get",
>   "params": {
>     "container":"patchwork",
>     "ids": [ "http://hosting.gmodules.com/ig/gadgets/file/104212287762013401606/demo_userprefs.xml"
],
>     "userId":"@viewer",
>     "groupId":"@self"
>   }
> }]
> Response --
> [{
>  "id": "gadgets.metadata.get",
>  "data": {"http://hosting.gmodules.com/ig/gadgets/file/104212287762013401606/demo_userprefs.xml":
{
>    "userPrefs": {
>    "mystring": {
>      "name": "mystring",
>      "displayName": "My string",
>      "type": "STRING",
>      "required": false,
>      "defaultValue": "abc"
>    },
>   },
>   "title": "User preferences",
>   "titleUrl": "",
>   "sameDomain": false,
>   "description": "",
>   "views": {"default": {
>    "iframeHost": "http://...googleusercontent.com",
>    "preferredHeight": 0,
>    "iframePath": "/gadgets/ifr?v=...&container=patchwork&view=default&debug=0&lang=all&url=...demo_userprefs.xml&country=ALL&libs=core#up_mystring=abc&up_myenum=no&up_myhidden=none&up_mybool=false&up_mylist=one%7Ctwo&st=...&rpctoken=...",
>    "type": "default",
>    "rpcToken": "-5941084236242578519",
>    "preferredWidth": 0
>   }},
>   "features": {"core": {
>    "name": "core",
>    "optional": false
>   }},
>   "url": "http://hosting.gmodules.com/ig/gadgets/file/104212287762013401606/demo_userprefs.xml"
>  }}
> }]

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message