Hi,
I would like to reformulate my question in a more general way.
How can I access to Tapestry 5 ApplicationState objects from outside Tapestry 5 context (an HttpServlet for example). We tried to understand if something in the classical HttpSession attributes could help us, without success for the moment.
Thanks in advance for your help,
Sébastien Deleuze
-------- Message d'origine--------
De: Deleuze Sébastien
Date: mar. 12/06/2007 10:50
À: users@tapestry.apache.org
Cc:
Objet: T5 and DWR
Hi,
We try to find a way to make DWR and Tapestry 5 communicate together.
The main problem that we encounter is that Tapestry 5 does not use usual servlet session like other framework like Tapestry 4 or Struts.
We do not understand Tapestry 5 internal mechanism well enough to achieve this goal.
An example of our need is to retrieve user information (in session on the Tapestry 5 side) from DWR to do Web 2.0 stuff (we do not use Dojo).
Is there a way to make communicate these 2 frameworks at the server level?
We thought about a solution based on a servlet filter that handle, before Tapestry5 filter, Tapestry 5 session attributes and copy them in the servlet session, but this is not a very clean solution !
Can someone explain to us how works tapestry 5 session attribute handling and how we can retrieve this from standard servlet session mechanism?
Seb
Title: T5: Access to an ApplicationState object from a HttpServlet