- 授权协议: Apache
- 开发语言: Java
- 操作系统: 跨平台
- 软件首页: https://github.com/greenlaw110/jfinal-rythm
- 软件文档: https://github.com/greenlaw110/jfinal-rythm/blob/master/README.md
软件介绍
为JFinal提供的插件,让JFinal应用程序轻松使用Rythm模版引擎。使用方法:
1. 加入发布包中的jar文件到你的JFinal应用程序lib目录
2. 配置插件:
private Properties conf = null;
public void configConstant(Constants me) {
this.conf = loadPropertyFile("path/to/properties/");
}
public void configPlugin(Plugins me) {
...
me.add(new RythmPlugin(conf));
}
3. 在你的配置文件中加入:
# 设置模版根目录到 WEB-INF/rythm rythm.home.template=../rythm # 支持国际化 rythm.i18n.enabled=true
4. 然后你就可以用Rythm来写你的模版。这里有两个示例程序可供参考:
特别版MATHEMATICA全书
[美] 斯蒂芬·沃尔夫雷 / 赫孝良、周义仓 / 西安交通大学出版社 / 2002-1 / 60.00元
一起来看看 《特别版MATHEMATICA全书》 这本书的介绍吧!
