Does anyone have any sense on that?  Seems the JAVA version doesn't support
this substitution.

On Mon, Mar 19, 2012 at 10:17 AM, Yao Zhang <yaozyzhang2...@gmail.com>wrote:

> Does anyone know that if <os:Var> is supported in java?
>
> I found that 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>
>
> A JIRA is opened:
> https://issues.apache.org/jira/browse/SHINDIG-1737
>

Reply via email to