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',
[...]
/}
精彩评论