cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Carsten Ziegeler <cziege...@apache.org>
Subject Re: [RT] input-modules in the sitemap
Date Mon, 31 Jan 2005 12:43:44 GMT
Sylvain Wallez wrote:
> Stefano Mazzocchi wrote:
> 
>> Am I the only one that is bugged by the fact that you have to add the 
>> input modules in the cocoon.xconf while the sitemap components go in 
>> the sitemap?
> 
We had several attempts to change this but there was always someone 
against it :(
> 
> 
> You can do it right now. <map:components> is handled exactly as an xconf 
> file to feed the service manager. And since components don't care about 
> namespaces in their configurations, you can even write:
> 
> <map:input-modules>
>  <map:input-module name="blah" class="com.blah.BlahModule"/>
> </map:input-modules>
> 
> (notice though the use of "class" instead of "src")
> 
> This behaviour, although unofficial, is effective since day one in the 
> TreeProcessor. IMO, it's time to make it official.
> 
No, please not - with 2.2 we have the official include feature and imho 
this is sufficient for this.

Carsten

Mime
View raw message