cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Berin Loritsch <blorit...@apache.org>
Subject Re: [Fwd: bug 2737 still exists...xsp compilation package]
Date Tue, 24 Jul 2001 17:31:43 GMT
Berin Loritsch wrote:
> 
> Berin Loritsch wrote:
> 
> > > > For example you have two subsite maps "test1" and
> > > > "test2"..
> > > >
> > > > 1. Have same pattern and same src path in xmap's of
> > > > both sitemaps
> > > >
> > > > 2. But the content of the xsp served is different.
> > > >
> > > > 3. I anticipate both xsp to be compiled into different
> > > > packages based on sitemaps and result in separate
> > > > content..
> 
> Here is what I am seeing:
> 
> /sitemap.xmap
> /test1.xmap
> /test2.xmap
> /index.xsp
> 
> In test1.xmap (mounted at "foo/")
> 
> <map:match pattern="index.html">
>   <map:generate type="serverpages" src="index.xsp"/>
>   <map:serialize/>
> </map:match>


ASSUMPTION: ServerPagesGenerator Source parameter is
interpreted the same as for FileGenerator!

For the FileGenerator, the resource pulled is relative
to where the sitemap is located.  For the ServerpagesGenerator,
the same behavior must be present!
Mime
View raw message