cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Olivier Billard <olivier.billard.coc...@laposte.net>
Subject Re: Url
Date Mon, 09 Aug 2004 11:47:04 GMT
Adriano Smith wrote:
> Is it possible to retrieve parameters passed in the url (through query 
> strings) using cocoon? 
> <http://ads.sify.com/RealMedia/ads/click_nx.ads/mail.sify.com/sentmail@Bottom>

> 

Sure, using the "request" object.
For example

in flowscript :
     var requestParameter = cocoon.request.getParameter("MyParameter");
in sitemap :
     <map:generate src="{request-param:MyFileParameter}"/>

etc...
You'll have more examples in the cocoon doc.

--
Olivier


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


Mime
View raw message