You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by tr...@units.it on 2007/06/17 22:28:37 UTC
there is a way to access ComponentManager from a listener?
Hi,
...probably I'm doing the wrong thing. But I have a cocoon application
(cocoon 2.1). During user navigation I have to save a lot of data in a
database and I use session id to do that. Now I've written a
SessionListener and a ContextListener because I need to perform some
cleen-up when a session is destroyed and, globally, when the contect
is destroyed.
Questions:
1) There is a way to access Cocoon ComponentManager to access db connections?
2) There is a way (in SessionListener) to access the Cocoon
environment (to access global variables defined in sitemap.xmap)?
3) There is a simpler way have all the work done?
Thank's in advance,
romano
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org