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:     <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>

Reply via email to