1、依赖上的改变
去掉了对commons-io,commons-logging的依赖,增加了commons-lang包.(commons
-logging的类加载存在内存泄漏
http://wiki.apache.org/jakarta-commons/Logging/UndeployMemoryLeak)
2、api上的改变
所有标记deprecated的api在4.1中已经被去除(是不是所有还不确定),这也意味着
没有page.visit和page.global了,没有了ActionService/ActionLink,
RequestCycle对象的创建中去除了IMonitor和RequestContext。
3、javascript上的改变
老的javascript form逻辑已经改变,不再存在form.events事件。替换为非ajax和
ajax两个版本的form提交, tapestry.form.submit("string id of form element or
actual form element")和tapestry.form.submitAsync("string id of form
element or actual form element").
4、不能单独使用tacos组件,已经内置,tacos组件将只支持t4.0分支。
(具体如何在升级t4.0到t4.1中去除tacos将另外写一篇笔记)
其他还有很多,具体使用后再做详细笔记

评论
发表评论

您还没有登录,请登录后发表评论

tapestry
搜索本博客
最近加入圈子
存档
最新评论