You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Olivier Billard <ol...@laposte.net> on 2004/08/09 13:47:04 UTC
Re: Url
Adriano Smith wrote:
> Is it possible to retrieve parameters passed in the url (through query
> strings) using cocoon?
> <ht...@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