You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@shindig.apache.org by "Ryan Baxter (JIRA)" <ji...@apache.org> on 2014/11/26 19:29:17 UTC

[jira] [Updated] (SHINDIG-1512) Allow to include non standard properties in ModulePrefs

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

Ryan Baxter updated SHINDIG-1512:
---------------------------------
    Fix Version/s:     (was: 2.5.2)
                   2.5.3

> Allow to include non standard properties in ModulePrefs
> -------------------------------------------------------
>
>                 Key: SHINDIG-1512
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-1512
>             Project: Shindig
>          Issue Type: Improvement
>          Components: Java
>    Affects Versions: 2.5.0-beta1
>            Reporter: Maxwell Chiareli
>             Fix For: 2.5.3
>
>
> If i create a gadget spec like this:
> <Module>
>     <ModulePrefs title="Test" size="small" appURL="http://appurl.com">
>     </ModulePrefs>
>     <Content type="html" href="test.html">
>     </Content>
> </Module>
> I can not see the properties "size" and "appURL", after request the metadata in javascript, it's because JsonRpcHandler is looking for specific properties in the line 216.
> So all non standard properties will be ignored, already has a TODO in this line:
> // TODO: This should probably just copy all data from
> // ModulePrefs.getAttributes(), but names have to be converted to
> // camel case.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)