>the XSLTProcessorImpl is Composable so will have access to the
>ComponentManager object at compose(), this will allow you to perform a
>lookup on all cocoon roles, also the servletsession like (ps: the session
>will perhaps not be valid at accesstime, try it out...):
>
>req =
>(HttpServletRequest)manager.lookup(HttpEnvironment.HTTP_SERVLET_CONTEXT);
>ses = req.getSession();

erm... this is ofcourse a big lie! "HttpEnvironment.HTTP_SERVLET_CONTEXT" is
not necessarily in the component manager's register by default... someone
has to put it there :-)

mvh karl řie


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to