cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carsten Ziegeler" <>
Subject RE: No SesionManager provided for Seleector?
Date Fri, 06 Sep 2002 06:40:24 GMT

Jan Bromberger wrote:
> > No, sorry - it is not. Actions, Matchers and Selectors are
> executed during
> > processing of the sitemap immediately - generators, transformers and
> > serializers
> > are executed after the complete xml pipeline is established.
> > So, first your selector is tested and at that time no context exists and
> > then is your xml pipeline executed which creates the context.
> This actually means, that I cannot use the SessionManager in a Selector to
> read out a SessionContext and therefor will have to implement the Path and
> ContextRetrievement myself?
No, you can use the SessionManager in a Selector - but you can't access
a context in the selector which is later on created in the pipeline.
This for example works:
The first request creates a session and a session context with some
The second request uses your selector to select upon the values in the

But you can't do this in one request.


Please check that your question  has not already been answered in the
FAQ before posting.     <>

To unsubscribe, e-mail:     <>
For additional commands, e-mail:   <>

View raw message