Re: Accessing session variables in the sitemap.xmap

2003-01-30 Thread Heiko Milke
nt: Thursday, January 30, 2003 4:56 PM Subject: Re: Accessing session variables in the sitemap.xmap > On 30.Jan.2003 -- 02:56 PM, Heiko Milke wrote: > > Hello, > > > > I want my application to work like the following. > > > > > > > > > >

Re: Accessing session variables in the sitemap.xmap

2003-01-30 Thread Christian Haul
On 30.Jan.2003 -- 02:56 PM, Heiko Milke wrote: > Hello, > > I want my application to work like the following. > > > > > > > > > > > 1. the serverpages generator accesses a script named "xsp/example.xsp" > Withing this script a session variable named "selected_stylesheet" is s

Re: Accessing session variables in the sitemap.xmap

2003-01-30 Thread Heiko Milke
Hey Andrew, Thanks for all your help! But well, it still aint working :( I tried on several browsers. I tried in the mount directory and i tried from the main sitemap. None if it works. Im using cocoon version 2.0.4 (on Windows 2000). Heiko ---

Re: Accessing session variables in the sitemap.xmap

2003-01-30 Thread Andrew Timberlake
Heiko I through together a quick test which works. Let me know if this works with you? PS. I am using cocoon from CVS as of about 3 nights ago. sitemap.xmap (extract) == xsp/example.xsp === http://apache.org/xsp"; xmlns:xsp-session="http:

Re: Accessing session variables in the sitemap.xmap

2003-01-30 Thread Heiko Milke
Hey Andrew, > Heiko > > Have you set the session to be created? > > In the xsp:page declaration: > > xmlns:xsp-session="http://apache.org/xsp/session/2.0"; > create-session="true" Yes I did. And if i "echo" the value from "selected_stylesheet" in the xsp page then it is correctly set. The site

Re: Accessing session variables in the sitemap.xmap

2003-01-30 Thread Andrew Timberlake
Heiko Have you set the session to be created? In the xsp:page declaration: xmlns:xsp-session="http://apache.org/xsp/session/2.0"; create-session="true" Andrew On Thu, 2003-01-30 at 16:33, Heiko Milke wrote: > Hey Andrew, > > > You probably want to change your pipeline as follows: > > > > >

Re: Accessing session variables in the sitemap.xmap

2003-01-30 Thread Heiko Milke
Hey Andrew, > You probably want to change your pipeline as follows: > > > > > > > > This is an input module which will retrieve the session attribute named > selected_stylesheet. The way you have it written is trying to access a > sitemap parameter named selected_stylesheet. > The

Re: Accessing session variables in the sitemap.xmap

2003-01-30 Thread Andrew Timberlake
Heiko On Thu, 2003-01-30 at 15:56, Heiko Milke wrote: > Hello, > > I want my application to work like the following. > > > > > > > > > > > 1. the serverpages generator accesses a script named "xsp/example.xsp" > Withing this script a session variable named "selected_sty