cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Russell <p...@luminas.co.uk>
Subject Re: sitemap.xmap
Date Wed, 17 Jan 2001 11:26:05 GMT
* Giacomo Pati (giacomo@apache.org) wrote :
> "Morrison, John" wrote:
> > 
> > How do I can I use wildcard matching in the path and pass the results to an
> > xsp page as a parameter?
> > 
> > eg:
> > 
> >    <map:match pattern="*/*/*/*/report.html">
> >     <map:generate  type="serverpages"
> > src="docs/getPostcodeData.xsp?postcode='{1}{2} {3}{4}'"/>
> >     <map:transform src="stylesheets/html/report.xsl"/>
> >     <map:serialize/>
> >    </map:match>
> The parameters are accessible in your xsp page as
> 
> 	org.apache.avalon.Parameters parameters;
> 
> Giacomo

Should this be available from the util taglib, so that people don't
become dependent on how Cocoon2 does things?


Paul

-- 
Paul Russell                                 Email:   paul@luminas.co.uk
Technical Director                             Tel:  +44 (0)20 8553 6622
Luminas Internet Applications                  Fax:  +44 (0)870 28 47489
This is not an official statement or order.    Web:    www.luminas.co.uk

Mime
View raw message