In the cocoon.xconf there is a cookiemodule configured which you can
easily use in your sitemap
<component-instance logger="core.modules.input" name="cookie"
class="org.apache.cocoon.components.modules.input.CookieModule" />
At http://cocoon.apache.org/2.1/userdocs/concepts/modules-ref.html You
see how to use the cookiemodule to pass cookies to your xslt:
Example Pipeline Fragment:
<map:match pattern="foo.html">
<map:generate type="file"
src="documents/{cookie:user-language}/foo.xml"/>
<map:transform src="stylesheets/foo2html.xsl"/>
<map:serialize/>
</map:match>
Cheers,
Robby Pelssers
-----Original Message-----
From: EliSF [mailto:[email protected]]
Sent: dinsdag 20 januari 2009 3:23
To: [email protected]
Subject: Re: JavaScript in stylesheet vs. in sitemap flow
Well, this still might be an interesting question but I found a
different,
simpler approach that makes it all moot. I'd still be curious if anyone
had
an answer, but don't knock yourselves out. Thanks anyway!
--
View this message in context:
http://www.nabble.com/JavaScript-in-stylesheet-vs.-in-sitemap-flow-tp215
55056p21555824.html
Sent from the Cocoon - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]