cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carsten Ziegeler" <cziege...@s-und-n.de>
Subject RE: (sub)sitemap context
Date Wed, 31 Oct 2001 13:29:43 GMT
Torsten Curdt wrote
> 
> I can take care of this then...
> 
> The only question is: shouldn't the sitemap itself set
> it's context path depending on the sitemap's file path
> or should the creator prepare the context with the
> appropriate working dir?
> --
Hi Torsten,

I don't exactly know what you mean with the above,
but the working directory has nothing to do with the
directory for resolving files.
So, the solution would be to prepare the context of 
the environment by changing the path.

Carsten

> Torsten
> 
> > -----Original Message-----
> > From: Carsten Ziegeler [mailto:cziegeler@s-und-n.de]
> > Sent: Wednesday, October 31, 2001 11:44 AM
> > To: cocoon-dev@xml.apache.org
> > Subject: RE: (sub)sitemap context
> > 
> > 
> > Right!
> > 
> > This is a bug!
> > 
> > Carsten
> > 
> > > -----Original Message-----
> > > From: Torsten Curdt [mailto:tcurdt@dff.st]
> > > Sent: Wednesday, October 31, 2001 10:47 AM
> > > To: Cocoon-Dev
> > > Subject: (sub)sitemap context
> > > 
> > > 
> > > Has anyone ever tried to put the root sitemap somewhere
> > > deeper into a subdirectory in the servlet context ? 
> > > Unfortunately the sitemap context does not change as expected.
> > > 
> > >   cocoon.xconf:
> > >   <sitemap file="subdir/sitemap.xmap" ../>
> > > 
> > > Sitemap context is still "/" what of course makes
> > > the sitemap look at all the wrong places.
> > > 
> > > I think it is more consistent to behave like the
> > > usual sub sitemap mounting. Sitemap context should
> > > be the directory the sitemap is really in.
> > > 
> > > Right?
> > > --
> > > Torsten
> > > 
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> > > For additional commands, email: cocoon-dev-help@xml.apache.org
> > > 
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> > For additional commands, email: cocoon-dev-help@xml.apache.org
> > 
> > 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email: cocoon-dev-help@xml.apache.org
> 

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


Mime
View raw message