cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carsten Ziegeler" <cziege...@s-und-n.de>
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
information.
The second request uses your selector to select upon the values in the
context.

But you can't do this in one request.

Carsten


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

To unsubscribe, e-mail:     <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>


Mime
View raw message