cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Haul <h...@dvs1.informatik.tu-darmstadt.de>
Subject Re: environment input module
Date Tue, 21 Jan 2003 17:02:29 GMT
On 21.Jan.2003 -- 05:35 PM, Torsten Curdt wrote:
> >>sure - will do...
> >
> >What's the need for an environment input module besides getting the 
> >current uri prefix ?
> 
> I couldn't really think of anything else yet..
> 
> >Remember that environment is an internal object used by the pipeline 
> >system (sitemap + pipeline implementations) that isn't visible from 
> >other classes.
> >
> >I also recently needed to get the uri-prefix, and was thinking of adding 
> >a new getSitemapPath() to Request, that would complement 
> >getContextPath() with the current uri prefix.
> >
> >Thoughts ?
> 
> Something like that was also my first thought... just hesitated to 
> propose a change/addition of the Request interface ...since I only need 
> it inside the sitemap - so I came up with the idea of the environment 
> module.
> 
> Shall we add it to the Request?

Sounds even better.

	Chris.
-- 
C h r i s t i a n       H a u l
haul@informatik.tu-darmstadt.de
    fingerprint: 99B0 1D9D 7919 644A 4837  7D73 FEF9 6856 335A 9E08

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


Mime
View raw message