Just look at this page: http://tapestry.apache.org/tapestry4.1/usersguide/state.html
you are probably looking for Application State Object (ASO). it's just what you want to do but hiding the retrieve/store complexities that will be handled automatically by tapestry. You just decide what's your ASO, declare it as an ASO, inject in the pages you want to use it and forget about session details. Hope it was of some help. On 3/28/07, mxc <[EMAIL PROTECTED]> wrote:
Hi there, Is there a way to do @Persist programatically? i.e this.addToSession("var"); Also is there a way to go this.getFromSession("var") thanks -- View this message in context: http://www.nabble.com/How-to-persist-a-variable-to-the-user-session-programatically--tf3481329.html#a9717068 Sent from the Tapestry - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]