有關(guān)Tapestry中的persistent property的處理
The problem here is that if you store something into the session, it should be something per-user instead of somethingper-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 劉錚 閱讀(290) 評論(0) 編輯 收藏 所屬分類: Tapestry