On Wed, 19 May 2010 16:56:24 -0300, Pete Poulos <[email protected]>
wrote:
Btw, it's not at all intuitive that this would work. I guess what's
happening is that when you acquire a page instance and set (persisted)
values on it, then those are the values that will be used the next
time the page is accessed?
When you set a @Persist field with a value, a specially-named session
attribute receives this value. When a new request arrives, a page instance
is checked out of the pool and when you read this field, actually it reads
this session attribute back.
--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,
and instructor
Owner, Ars Machina Tecnologia da Informação Ltda.
http://www.arsmachina.com.br
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]