有关Tapestry中的persistent property的处理

The problem here is that if you store something into the session, it should be something per-user instead of something
per-page. Clearly the current product id is a per-page thing, not a per-user thing. So using a client persistent property is
a much better choice.
client的方法:
@Persist("client")
session的方法:
@Persist("session")

posted on 2007-11-05 10:33 刘铮 阅读(275) 评论(0)  编辑  收藏 所属分类: Tapestry


只有注册用户登录后才能发表评论。


网站导航:
 
<2024年5月>
2829301234
567891011
12131415161718
19202122232425
2627282930311
2345678

导航

统计

留言簿(1)

文章分类(141)

文章档案(147)

搜索

最新评论