内容简介:模板引擎 Velocity Engine 2.1 已发布,上个版本 2.0 的推出时间是两年前。 更新内容如下 引入新的 VTL 语法: alternate reference values: 只要 $foo 的布尔值为 false,${foo|'foo'} 就会计算为 'foo' Defaul...
模板引擎 Velocity Engine 2.1 已发布,上个版本 2.0 的推出时间是两年前。
更新内容如下
- 引入新的 VTL 语法:
alternate reference values: 只要 $foo 的布尔值为 false,${foo|'foo'} 就会计算为 'foo'
Default block for empty loops: #foreach($i in $collection) ... #else nothing to display #end
- 新增两个向后兼容 Engine 1.7 的标志:parser.allow_hyphen_in_identifier 和 velocimacro.arguments.literal
- Velocity Engine 2.1 现在要求 Java 1.8+
有关更改的完整列表,请参阅 Velocity Engine 2.1 更改部分和 JIRA 更改日志。
有关从 Velocity 1.x 升级的注意事项,请参阅 Velocity Engine 2.1 升级部分。
以上就是本文的全部内容,希望本文的内容对大家的学习或者工作能带来一定的帮助,也希望大家多多支持 码农网
猜你喜欢:- smart-socket V1.3.14 发布,迟来的奖杯与久违的 bug
- 网站模板 | 现代时尚创新创意投资组合HTML5模板设计
- ReportLibrary 报表模板库新增 21 张报表模板,加入报表导出功能!
- ReportLibrary 报表模板库新增 21 张报表模板,加入报表导出功能!
- 工具集核心教程 | 第五篇: 利用Velocity模板引擎生成模板代码
- Word 模板引擎 poi-tl V1.3.0 发布,新增模板语法
本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们。
Introduction to Computation and Programming Using Python
John V. Guttag / The MIT Press / 2013-7 / USD 25.00
This book introduces students with little or no prior programming experience to the art of computational problem solving using Python and various Python libraries, including PyLab. It provides student......一起来看看 《Introduction to Computation and Programming Using Python》 这本书的介绍吧!