Btw I found an different method for using my own components (those definined in .xroles)
The way is write a 'Cocoon Action', where I can use my components and then decided where the user has to be redirected to. I have just some problems in executing my Action all the times I want, but that is a .xconf misconfigration > -----Messaggio originale----- > Da: Joerg Heinicke [mailto:[EMAIL PROTECTED] > Inviato: venerdì 19 gennaio 2007 23.21 > A: [email protected] > Oggetto: Re: R: I: Reading Cocoon component from Servlet Filter > > > On 19.01.2007 12:11, Leonardo Battagli wrote: > > > It sounds a bit strange to me If can't get from inside a > ServletFilter all > > the component I can use inside a flowscript > > No, it's a completely different environment. The filter is outside of > the servlet, the flowscript inside of it. It is also nothing specific > for Cocoon, it's the servlet API that enforces this separation of > concerns. (Not from the beginning btw. In former versions you could > access the servlets from the servlet context which is no > longer possible > in newer versions. The context is available from the filter.) > > You probably have to rethink your architecture. What is it what you > actually want to do in your filter? > > Jörg > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
