Re: HttpSessionListener interface implementation by Tapestry5 component

2012-03-16 Thread bogdan_cm
Thank you both very much for replying. It solved my problem. Bogdan. -- View this message in context: http://tapestry.1045711.n5.nabble.com/HttpSessionListener-interface-implementation-by-Tapestry5-component-tp5572413p5572656.html Sent from the Tapestry - User mailing list archive at Nabble.co

Re: HttpSessionListener interface implementation by Tapestry5 component

2012-03-16 Thread Josh Canfield
Are you sure you're using the instance that Tapestry created? If you registered your HttpSessionListener via your web.xml then Tomcat is creating the instance. In this case you want to grab the instance of Registry stored in the ServletContext. http://tapestry.1045711.n5.nabble.com/Hello-Can-anyo

Re: HttpSessionListener interface implementation by Tapestry5 component

2012-03-16 Thread Kalle Korhonen
On Fri, Mar 16, 2012 at 1:28 PM, bogdan_cm wrote: >  When a user logs out I want to remove it from my online_table. This can > happen in two ways: > Is there a way for me to force Tap to inject my service? Any other work > around idea is welcomed. I have even went so far as to putting a finalize >