hey heiko,

see comments inline

> -----Ursprüngliche Nachricht-----
> Von: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]Im
> Auftrag von Heiko Milke
> Gesendet: Samstag, 1. Februar 2003 01:32
> An: [EMAIL PROTECTED]
> Betreff: Re: AW: Accessing session variables in the sitemap.xmap
>
>
> Hello Marco,
>
> thank you very much for your reply. It is a bit irretating that you
> can't read something from the session that was set to it earlier in a

the thing is that it was not set *earlier*. this has to do with how
pipelines work. the xsp attribute
create-session="true" leads to code in the serverpage's generate() method.
but this method is not called before pipeline setup. so at pipeline
setup/assembly time the session will not yet have been created.

> serverpage (while working on the same request) but i'll have to live
> with it.
>
> Now I wrote an action that does the talking to the session and it works
> fine. The serverpages just lost some of their value for me. I was so

it's not really the serverpages' fault. you can have create-session="true"
get to work. the xsp logicsheet just has to be modified accordingly (create
the session in the XSP's setup() method.

> happy with the XMLFragment implementation of mine working out so well
> but if session modifications are delayed to the next page request ....
>
> Gn8 Heiko!
>

jo, schlaf ma gut!


---------------------------------------------------------------------
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