cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robby Pelssers" <robby.pelss...@ciber.nl>
Subject RE: JavaScript in stylesheet vs. in sitemap flow
Date Tue, 20 Jan 2009 08:49:18 GMT
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:eli@wavemarket.com] 
Sent: dinsdag 20 januari 2009 3:23
To: users@cocoon.apache.org
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: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message