![](https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
tapestry5
moonfly1127
这个作者很懒,什么都没留下…
展开
-
T4中树的例子代码
T4中树的例子代码 CstMtrlHeadTree.java是使用的例子。具体的详细信息带有时间后在详细的写一个文档。2008-06-30 13:21:56 · 121 阅读 · 0 评论 -
T5的页面生存周期
本人是根据tapestry官方文档和自己的理解而整理出来的。如果有什么不对的地方,请大家批评指正。 根据官方的说法,T5的page页面在第一访问后都放在了一个page pool中作为缓存,以方便其他用户的访问。页面的生存周期也很简单第一次访问 页面函数执行顺序如下:这是Tapestry 实例化当前页面。1、pageLoaded 在这里可以初始化一些页面公用的参数,这里的变量的值是给所有的请求共享...2008-01-03 17:08:20 · 85 阅读 · 0 评论 -
创建可以重复使用的组件
T5 components was put in ${app-root}/components by defaultSuppose org.man.tapestry5.components will hold our newcomponents.1) add the following to AppModule public static voidcontributeComponentClas...2008-01-04 12:21:37 · 544 阅读 · 0 评论 -
T5中定义系统公用变量方法
in AppModule.javapublic static void contributeApplicationDefaults( MappedConfiguration<String, String> configuration) { configuration.add("tutor.file-system-root", "/Users/pbes...2008-01-07 07:13:40 · 127 阅读 · 0 评论 -
Tapstry5.0.5升级到5.0.6中注意的问题
1、html文件更改为tml 可以放在web-root下面2、模块的log更改为slf4j org.slf4j.Logger3、@Inject 更改到 org.apache.tapestry.ioc.annotions.Inject4、自定义组件里面要显示非定义参数要使用 @Inject private ComponentResources resources; ...2008-01-09 07:38:59 · 107 阅读 · 0 评论