On Fri, 21 Oct 2011 08:41:25 -0200, Bo Gao <eli...@gmail.com> wrote:
Hi
Hi!
I have a problem with @Persist values.
I use Zone in my page, the zone only shows a number 'count'. And when I
click a link in this page, it will plus count by 1 and refresh the zone.
I open 2 same page in safari, (two tabs in one safari window, they have
a same sessionid)
I click link in tab1, zone shows '1', then I click link in tab2, the
count shows '2' , not '1'.
The Persist value is shared in one session?
Yes, and that's the expected behavior. Same browser, many tabs, all them
share the same session. That's how HTTP and browsers work.
What can I do to separate variables in to different tabs with same
sessionId?
You'll need conversations. Check
http://docs.codehaus.org/display/TYNAMO/tapestry-conversations+guide
--
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: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org