Thanks for the info Vadim. I am using 2.1-CVS. I read it and currently I am working on the auth-framework. The question is that we cannot access to
<session:getxml> from the called "session" transformer using XSP. IT does not work. I know there is a bug that prevent the use of 2 pipelines to make a little workaround. Then is Cocoon will continue featuring XSP, we need a way to use the <session:getxml> to get the values we stored there from a XSP. I am just trying to help in this XSP issue. All your comments are welcome. I am juat a newbie trying to make use of Cocoon. Like a Cocoon guru all your comments are always welcome to me. Thanks for help me to understand the Cocoon way. I believe in Cocoon. But currently I dont know if I get the right way using XSP. :-/ What do you think? Regards, Antonio Gallardo. El Mi�rcoles, 25 de Septiembre de 2002 12:21, Vadim Gritsenko escribi�: > Antonio Gallardo Rivera wrote: > >Can I use session variables into a XSP? I cannot reach it only trought a > >transformation. How I must declare the name space to use it in XSP since > > Antonio, > > ><xsp:page > > xmlns:xsp-session="http://apache.org/xsp/session/2.0" > >create-session="true" > > xmlns:xsp="http://apache.org/xsp"> > > > >does not work. > > This is to access Cocoon session object using session logicsheet. Read > more on: > http://xml.apache.org/cocoon/userdocs/xsp/session.html > > >Currently I need to use: > > > > xmlns:session="http://cocoon.apache.org/session/1.0" > > This one allows you to work with "/session framework", /also known as > "/sunShine", and has nothing to do with sessions above. This sunShine > sessions are available via transformer. Read more on: > /http://xml.apache.org/cocoon/developing/webapps/sunshine.html > / > Please go through examples also. > > > Regards, > Vadim/ > > >and then make a transformation before the use: for example (sitemap): > > > ><!-- Welcome page - Protected --> > > <map:match pattern="welcome"> > > <map:act type="auth-protect"> > > <map:parameter name="handler" value="myhandler"/> > > <map:generate src="docs/welcome.xsp" type="serverpages"/> > > <map:transform type="session"/> > > ^^^^^^ > > -> The transform needed currently :( > > </map:act> > > <map:transform src="stylesheets/mystyle.xsl"/> > > <map:serialize/> > > </map:match> > > > >Regards, > > > >Antonio Gallardo > > --------------------------------------------------------------------- > 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]> --------------------------------------------------------------------- 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]>
