开发者

PlayFrameWork: passing variables to a tag call

is it somehow possible to pass variables to a tag call:

I mean something like this:

#{plotGraph 
                    name:'${name}',
                    yAxis:'mA',
      开发者_开发问答              [...] 
/}

I get following error:

... does not compile : #{plotGraph} is not closed.


My immediate remark without thinking and reading your real problem: If you just use the variable name itself, doesn't it work?

#{plotGraph 
                    name:name,
                    yAxis:'mA',
                    [...] 
/}
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜