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

Reply via email to