Prove to use the action "RequestParamAction".
In the java doc of this class you can find how to use it.

Huw Jones wrote:

> How do I structure the cocoon2 sitemap to get request parmeters i.e
>
> url: http://<hostname/cocoon/hello.pdf?param1=1&param2=2
>
> So in the sitemap I want to
>
> <map:match pattern="hello.pdf">
>     <map:generate src="docs/samples/hello-page.xml" />
>     <map:transform src="stylesheets/page/{param1}" />
>     <map:serialize type="{param2}"/>
>  </map:match>
>
> I'm sorry if this is a basic question I couldn't find anything to point
> me in the right direction in the archives.
>
> Many thanks
>
> Huw Jones
>
> _____________________________________________________________
> Tel: +44-208-5799024 (Office)
>      +44-7973-539007 (Mobile)
>
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>
begin:vcard 
n:Adrover;Bartomeu
x-mozilla-html:FALSE
org:UIB;Servei de Cālcul i Informatizaciķ
version:2.1
email;internet:[EMAIL PROTECTED]
adr;quoted-printable:;;Edifici Anselm Turmeda, Campus de la UIB=0D=0ACarretera de Valldemossa Km 7,5 ;Palma de Mallorca;Illes Balears;07071;Espanya
fn:Baromeu Adrover
end:vcard

---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to