FreeMarker-list

来源:互联网 发布:淘宝权 编辑:程序博客网 时间:2024/04/29 07:42

list指令的一般格式为:

<#list sequence as loopVariable>

    repeatThis

</#list>

 

repeatThis部分为重复出现项,

loopVariable为循环时的当前项值,它的生命周期紧在<#list>和</#list>之间

原创粉丝点击