You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Tom Davies <tg...@gmail.com> on 2004/09/23 01:02:37 UTC
Tapestry and multiple windows per session
Hi,
We have a struts/JSP web application which has the feature that a
single session may have several browser windows open, each displaying
the same JSP page. We handle this by adding a window ID parameter to
every request and wrapping the HttpSession so that the keys of values
stored in the session are prefixed by the window ID. Each window has
its own copy of a form bean with a particular name in the session.
It's a horrible kludge, but it works.
What is the Tapestry approach to this? I've written a sample Tapestry
application which uses a similar approach, but with the window id
being used as an index to retrieve page state from the Visit. Is there
a better way? Can I override the way Tapestry finds page state to do
this on a per window basis?
Thanks,
Tom
--
IDS Enterprise Systems Pty Ltd
12 Julius Avenue
North Ryde
NSW 2113
Australia
Switch: +61 2 8875 9000
Direct: +61 2 8875 9106
Fax: +61 2 8875 9099
Email: tdavies@ids.com.au
Web: www.idses.com.au
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org