cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Carsten Ziegeler <cziege...@apache.org>
Subject Re: VariableResolver
Date Wed, 31 Aug 2005 06:18:57 GMT
Sylvain Wallez wrote:

> 
> That's a good point. Having to pass the service manager and object model 
> around is a pain and may justify componentization.
> 
> However, that component would be declared in cocoon.xconf (or even 
> cocoon.roles) when it may need components defined locally in the current 
> sitemap (e.g. input modules). How can we solve that?
> 
You can get the current sitemap service manager from the context object
using the key ContextHelper.CONTEXT_SITEMAP_SERVICE_MANAGER

Carsten


-- 
Carsten Ziegeler - Open Source Group, S&N AG
http://www.s-und-n.de
http://www.osoco.org/weblogs/rael/

Mime
View raw message