cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Morrison, John" <John.Morri...@uk.experian.com>
Subject RE: sitemap.xmap
Date Wed, 17 Jan 2001 11:46:25 GMT
Prob ought to be an extension to the request tag lib? So it's transparent as
to _where_ the parameter came from.

A tag lib would also save people have to cope with Avalon objects (should we
create/ship the JavaDocs if XSP programmers are going to use these
objects?).

John.

> -----Original Message-----
> From: Paul Russell [mailto:paul@luminas.co.uk]
> Sent: 17 January 2001 11:26 am
> To: cocoon-dev@xml.apache.org
> Subject: Re: sitemap.xmap
> 
> 
> * 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

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


=======================================================================
Information in this email and any attachments are confidential, and may
not be copied or used by anyone other than the addressee, nor disclosed
to any third party without our permission.  There is no intention to
create any legally binding contract or other commitment through the use
of this email.

Experian Limited (registration number 653331).  
Registered office: Talbot House, Talbot Street, Nottingham NG1 5HF

Mime
View raw message