cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From java guru <javacoc...@yahoo.co.in>
Subject Re: Newbie - how do I get URL request params in sitemap
Date Fri, 01 Feb 2002 16:12:58 GMT
you could just look at the 'redirect' pattern example
in the default sitemap.. there the request param
'dest' is extracted out of the parameters and passed
on to redirector.


hope that helps.

 --- Bartomeu Adrover <tomeu.adrover@uib.es> wrote: >
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:
> <cocoon-users-unsubscribe@xml.apache.org>
> > For additional commands, e-mail:
> <cocoon-users-help@xml.apache.org>
> > begin:vcard 
> n:Adrover;Bartomeu
> x-mozilla-html:FALSE
> org:UIB;Servei de Càlcul i Informatizació
> version:2.1
> email;internet:tomeu.adrover@uib.es
> 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:
> <cocoon-users-unsubscribe@xml.apache.org>
> For additional commands, e-mail:
<cocoon-users-help@xml.apache.org> 

=====
Thanks and have great day
srini

________________________________________________________________________
Looking for a job?  Visit Yahoo! India Careers
      Visit http://in.careers.yahoo.com

---------------------------------------------------------------------
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: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message