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: [roadmap] Cocoon 2.2
Date Wed, 04 Aug 2004 06:05:16 GMT
 
Vadim Gritsenko wrote:
> 
> If you think about it, views do not have any parameters 
> passed to them. 
> As a result, all resources which view uses are defined within 
> view itself, within sitemap where is is defined, so all view 
> resources must be resolved relative to the sitemap where view 
> is defined.
Yepp.

> 
> Can we achive this (if view are made inheritable)? Can such a 
> resolver be given to the view so it resolves *not* relative 
> to the current sitemap, but relative to the view declaration sitemap?
> 
Yes, each sitemap has a resolver (EnvironmentChanger) that resolves
relative to this sitemap, so if we pass this into the components
in the view, we are finished.

Carsten


Mime
View raw message