[
https://issues.apache.org/jira/browse/SHINDIG-1737?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Erik BI updated SHINDIG-1737:
-----------------------------
Attachment: 1737 (1).patch
> Declaring Variables Inline - <os:Var> does not work
> ----------------------------------------------------
>
> Key: SHINDIG-1737
> URL: https://issues.apache.org/jira/browse/SHINDIG-1737
> Project: Shindig
> Issue Type: Bug
> Components: Java
> Affects Versions: 2.5.0-beta1
> Reporter: Yao Zhang
> Attachments: 1737 (1).patch
>
>
> Declaring Variables Inline - <os:Var> does not work. Following is a simple
> gadget using os:Var.
> The gadget default view should show "This value of myvar is 3". But actaully
> is shows "This value of myvar is".
> <Module>
> <ModulePrefs title="Varible Replacement Templating Example"
> height="400" width="400">
> <Require feature="opensocial-templates">
> </Require>
> </ModulePrefs>
> <Content view="default" type="html">
> <![CDATA[
> <div>
> <script type="text/os-template">
> <os:Var key="myvar" value="3">This value of myvar is
> ${myvar}</os:Var>
> </script>
> </div>
> ]]>
> </Content>
> </Module>
--
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