---
title: "Tapestry5每日播报(20080512)"
author: "tapestry"
date: "2008-05-12T22:30:16Z"
tags: ["Tapestry"]
slug: "tapestry5-20080512"
draft: false
lastmod: "2008-05-12T22:30:16Z"
id: 192400
url: "https://tapestry.iteye.com/blog/192400"
---

1.介绍Tapestry5的新文章发布[Tapestry for Nonbelievers](http://www.infoq.com/articles/tapestry5-intro) ，写的很好，推荐大家阅读。

2.邮件列表[T5.0.11: onActivate() called twice, more questions](http://www.nabble.com/T5.0.11:-onActivate%28%29-called-twice,-more-questions-td17184571s302.html) ，问题跟Tapesetry5的路径问题有关，这个也是一直困扰我的地方，例如生成的url为

http://localhost:8607/myApp/start/testmessage ,图像路径为myApp/images/image.jpg,如果使用相对路径&lt;img src="images/image.jpg"/&gt;,生成的图片url则为

http://localhost:8607/myApp/start/images/image.jpg [](http://localhost:8607/myApp/start/images/image.jpg,%E6%94%B9%E4%B8%BA)改为&lt;img src="/images/image.jpg"/&gt;则可正常显示，也就是说开发的应用只能放在根目录，无法部署到目录中，

不知道有没有什么两全的方式解决。

3.邮件列表[T5: Calling method with parameter in prop](http://www.nabble.com/T5:-select-within-table-grid-td17145791s302.html) ，在T4升级到T5的过程中，碰到了prop中无法执行函数的问题，T5Components中有个[ognl binding](http://87.193.218.134:8080/t5components/t5c-commons/howto_ognlbinding.html) ，可以重新使用ognl取值。