cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robin Green" <>
Subject Re: using parameters
Date Thu, 20 Jul 2000 12:41:54 GMT
Carlos Araya <> asked:
>I want to use the URL of a document to pass parameters to it (Something
>Is there an easy way to do this without programming in Java?

No. Stefano (Cocoon architect) thinks it would be "too dangerous". *shrug*

It's a FAQ (though it's not in the FAQ). It should be easier to do this 
stuff with the Sitemap in Cocoon 2 - depending on what you want to do.

>Can I used
>global parameters matched to the attributes I'm passing through the >URL?

I'm not sure I understand the question. Use request.getParameter () in Java. 
Also, in your stylesheet you can use <xsl:param> and the stylesheet will 
automatically pick up the specified parameters from the request.

Robin Green
i-tao Ltd.
4 Skyline Village
London E14 9TS
United Kingdom
Phone +44 20 7537 2233  Fax +44 70 8081 5118

Get Your Private, Free E-mail from MSN Hotmail at

View raw message