you have to use the @ApplicationState annotations instead
if you want to share the data between multiple pages

g,
kris




Olexiy Prokhorenko <[EMAIL PROTECTED]> 
28.11.2008 05:02
Bitte antworten an
"Tapestry users" <users@tapestry.apache.org>


An
users@tapestry.apache.org
Kopie

Thema
@Persist - default to session "by page"?






Hi there,

I am trying out Tapestry 5, and have some minor (I guess) problem.
I have two different pages and each of them has:

..
@Persist
@Property
private String successMessage;
..

and each of the pages at some point writes something into it. Let's 
say page1 writes "Hi page1", and page2 writes "Aloha page2". Simple 
enough, but the problem is that page1 sees always IT'S OWN message, 
and page2 sees IT'S OWN.

Why successMessage isn't shared between them?
What am I doing wrong?

Thanks!

Reply via email to