如何动态传递tagboardOptions?

时间:2015-01-09 09:31:11

标签: javascript tags cq5 aem

而不是

<script>var tagboardOptions = {
tagboard:"namo/160501",
postCount: 3,
mobilePostCount: 4};
</script>

我想要

<script>var tagboardOptions = {
tagboard:"${properties.tagboardLocationPath"}, 
postCount: "${properties.postCount}", 
mobilePostCount: "${properties.mobilePostCount}"};
</script>

然而它不起作用......任何想法如何动态传递标签值?

0 个答案:

没有答案