久违的更新,模板引擎 Velocity Engine 2.1 发布

栏目: 软件资讯 · 发布时间: 5年前

内容简介:模板引擎 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 升级部分

发布主页 | 下载地址


以上就是本文的全部内容,希望本文的内容对大家的学习或者工作能带来一定的帮助,也希望大家多多支持 码农网

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

Concepts, Techniques, and Models of Computer Programming

Concepts, Techniques, and Models of Computer Programming

Peter Van Roy、Seif Haridi / The MIT Press / 2004-2-20 / USD 78.00

This innovative text presents computer programming as a unified discipline in a way that is both practical and scientifically sound. The book focuses on techniques of lasting value and explains them p......一起来看看 《Concepts, Techniques, and Models of Computer Programming》 这本书的介绍吧!

随机密码生成器
随机密码生成器

多种字符组合密码

MD5 加密
MD5 加密

MD5 加密工具

Markdown 在线编辑器
Markdown 在线编辑器

Markdown 在线编辑器