FTL中常用说明
来源:互联网 发布:商城虚拟商品数据库 编辑:程序博客网 时间:2024/05/04 01:03
一、FTL常用对象
sessionAttribute、requestAttributes、requestParameters
二、FTL中类的调用方法
<#assign nowTimestamp=Static["org.ofbiz.base.util.UtilDateTime"].nowTimestamp()>
三、遍历listⅩ,得到摸个对象在list中的序号,是从0开始计数
<#list productList as product> <span style="white-space:pre"></span>${product_index} </#list>
四、格式化日期
<!-- 建议要作判断,不然容易出错--><#if (orderHeader.orderDate )?has_content)>${orderHeader.orderDate?string("yyyy-MM-dd")}</#if>
五、FreeMarker 对 substring 默认支持
${string[0..4]} <!-- 截取 0-4 个字符 -->
六、Ofbiz Form
0 0
- FTL中常用说明
- freemarker ftl常用语法
- ftl常用指令
- ftl中使用${}
- FTL常用标签及语法
- ftl常用标签和语法
- FTL常用标签及语法
- FTL常用标签及语法
- FTL常用标签及语法
- FTL常用标签及语法
- FTL常用标签及语法 .
- FTL常用标签及语法
- FTL常用标签及语法
- FTL常用标签及语法
- FTL常用标签及语法
- freemarker FTL常用标签及语法
- Freemaker FTL指令常用标签及语法
- (freemarker)FTL常用标签及语法
- [leetcode] 147. Insertion Sort List 解题报告
- SurfaceView使用介绍
- Java基础之基本类型转换知识点详解
- Python 读取大文件
- 动态SQL
- FTL中常用说明
- 根据文字内容确定控件尺寸
- Unable to resolve target 'android-14'解决方法
- Javascript模块化编程(三):require.js的用法
- 成员变量作用域范围...
- linux 常用命令总结
- NetCore NW714 v2.0路由器TTL救砖
- 你真的搞明白Java中基本数据类型的转换了吗?
- Loadrunner--已定义的多个参数化如何取同一行值