GSP页面中的语法是什么?

时间:2017-01-13 11:41:04

标签: grails gsp

    {{#isFinal type}}
            <div class="summary" section='summary'>
                {{#logics data.remaining}}
                <div id="remaining" field='remaining' class="notifybox"><div class="warnicon"> {{remainingMessage}} </div></div>
                {{else}}
                <div id="remaining" field='remaining' class="notifybox"><div class="warnicon"> {{remainingMessage}} </div></div>
                {{/logics}}
...
...
..

什么是双引号?是({{....}})Grails的语法?

1 个答案:

答案 0 :(得分:3)

这绝对不是Grails的语法,但对于任何Javascript模板,如Handlebars http://handlebarsjs.com/