cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adriano Smith <orosm...@sify.com>
Subject Re: Url
Date Tue, 10 Aug 2004 05:49:57 GMT
if i have a url http://mailxx.com/uid?pwd?key
can uid, pwd and key be accessed using 

<map:generate src="{request-param:uid}"/> ?



Quoting  olivier.billard.cocoon@laposte.net:

> 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