tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kristian Marinkovic <kristian.marinko...@gmail.com>
Subject Re: Page pooling in Tapestry 5.0
Date Thu, 08 Nov 2012 07:43:13 GMT
@Persist fields are NOT shared between sessions. Otherwise all my
deployed applications wouldn't work.

you do realize that you are initializing your fields in the onActivate
method? And because they are properties you could have bound it to a
form field. have you checked that you got a new http session? just a
logout link won't do unless it invalidates the current http session;
check your cookies.

@Persist works as expected, no doubt.

On Thu, Nov 8, 2012 at 8:25 AM, Javicha <javilanhas@gmail.com> wrote:
> I was wrong, Tapestry version is 5.1.0.5 (not 5.0).
>
> And I have found that @Persist if shared between sessions (I do a search by
> name 'Peter'. I log out. I log on with a different user session. I go to the
> search page, and it´s initialized with the parameter 'Peter'). It's a very
> strange problem. I think I'll delete the @Persist annotation, and pass all
> the search parameters in methods OnActivate - onPassivate to resolve
> problem.
>
> Thanks to all for the help!
>
>
>
>
> --
> View this message in context: http://tapestry.1045711.n5.nabble.com/Page-pooling-in-Tapestry-5-0-tp5717748p5717807.html
> Sent from the Tapestry - Dev mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: dev-help@tapestry.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org


Mime
View raw message