
Tapestry5
doublel
这个作者很懒,什么都没留下…
展开
-
修改eclipse中的默认maven2资源仓库保存地址(很有用的)
当你在eclipse中集成了maven2后,默认情况下,eclipse会在你的系统盘(c:/)下创建一个目录,C:/Documents and Settings/danlley/.m2/repository并将其作为数据仓库目录。如果有一天当你很不幸的需要重做系统,而又无法将maven2仓库目录下的数据及时转移的时候,你此前对maven2仓库所做的一切维护都将意味着竹篮打水一场空。为了让你的转载 2007-07-04 13:33:00 · 22545 阅读 · 4 评论 -
定义系统公用变量方法
in AppModule.javapublic static void contributeApplicationDefaults( MappedConfiguration configuration) { configuration.add("tutor.file-system-root", "/Users/pbeshai/tmproot/");原创 2008-10-23 07:55:00 · 1166 阅读 · 0 评论 -
Tapestry 5 Training Course 中文学习笔记三
Tapestry5 基本结构 概论 处理请求 方法论 基本组件 Form管理 其他组件概论定义一个模板 Tapestry5模板都遵守XML文档语法 如果使用特殊字符(比如 ;)必须使用一下(X)HTML DOCTYPES Strict//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1- strict.dtd">原创 2008-10-05 16:52:00 · 2867 阅读 · 2 评论 -
Tapestry 5 Training Course 中文学习笔记二
安装和配置目标 不使用XML 尽量减少冗余 最大限度的使用命名标准 使用“系统”变量Configuring the J2EE application1.定义应用程序的根目录(root package) tapestry.app-package net.atos.mm.formation原创 2008-09-29 08:07:00 · 2820 阅读 · 0 评论 -
Tapestry 5 Training Course 中文学习笔记一
概述:T5的构成T5由一下模块构成: Tapestry-ioc :T5的开发基础, Tapestry-core :T5的web开发框架(使用 Tapestry-ioc) Tapestry-annotation :用于开发T5应用程序的Annotation Tapestry-upload : T5上传使用的子项目。由Tap翻译 2008-09-25 16:39:00 · 3074 阅读 · 0 评论 -
T5的页面生存周期
本人是根据tapestry官方文档和自己的理解而整理出来的。如果有什么不对的地方,请大家批评指正。 根据官方的说法,T5的page页面在第一访问后都放在了一个page pool中作为缓存,以方便其他用户的访问。页面的生存周期也很简单 第一次访问 页面函数执行顺序如下:这是Tapestry 实例化当前页面。1、pageLoaded 在这里可以初始化一些页面公用的参数,这里的变量的值是给所有的请求共原创 2007-09-03 10:28:00 · 1313 阅读 · 0 评论 -
解决Tapestry5中文问题
原文地址:http://linuxboy.javaeye.com/blog/71975转自mail-lists Nick Westgate 。注意要在工程里面要引入serlet-api.jar,否则编译不过去。经测试,可以使用中文的html模板,表单输入的中文可以正常显示。Just add this to your AppModule: java 代码 //显示CJK(中文转载 2007-06-01 18:42:00 · 2685 阅读 · 0 评论 -
T5学习之Form的基本应用
原帖地址 :http://linuxboy.javaeye.com/blog/57682下面展示如何进行page navigation和使用带t:value的input框:Start.html(为了显示中文,使用了Messages进行localization):html 代码 html xmlns:t="http://tapestry.apache.org/转载 2007-05-31 10:24:00 · 1941 阅读 · 1 评论 -
Tapstry5.0.4 应用中遇到的错误及相应解决方法
1、org.apache.tapestry.ioc.internal.util.TapestryExceptionParameter(s) translate, value are required for org.apache.tapestry.corelib.components.TextField, but have not been bound解决办法:主要是在 t:form中定义的原创 2007-05-30 18:59:00 · 1835 阅读 · 0 评论 -
Tapestry 5.0.16 (Release Candidate) it OUT!
The latest release of Tapestry, Tapestry 5.0.16 (Release Candidate), is now available.Tapestry 5.0.16 is the release candidate; we encourage users todownload this version. In about a month, th转载 2008-11-22 12:41:00 · 1566 阅读 · 2 评论