> -----Original Message-----
> From: Jan Bromberger [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, September 05, 2002 4:59 PM
> To: [EMAIL PROTECTED]
> Subject: Re: No SesionManager provided for Seleector?
>
>
> > When is your session context created?
> It should normaly be created only once on the first page request. At the
> moment for test purposes there is the following pipe:
>
> <map:match pattern="sessiontest">
>  <map:generate src="foo.xml"/>
>  <map:transform type="session"/>
>  <map:select type="context">
>    ...
>  </map:select>
>  <map:serialize type="xml"/>
> </map:match>
>
> So it is created by the session transformer before the select state.
>
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.

HTH
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