cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sylvain Wallez <>
Subject Re: [RT] Component confs per sitemap
Date Fri, 17 Dec 2004 17:36:40 GMT
Carsten Ziegeler wrote:

>The current solution for adding own components to Cocoon is to (optionally)
>add the role to the cocoon.roles file and to add the component
>to the global cocoon.xconf file. 
>What about providing the possibility to add components/roles on a per
>level? For example by providing a reference from within a sitemap in the
>map:components sections:
><map:components roles-file="..." config-file="...">
>  ..
>So all of these components are available in this sitemap and in all
>Adding this (to 2.2) should be very easy and makes adding own stuff imho
>(As a second step - but this is independent it would be possible to move all
>definitions of sitemap components into these files as well, leaving just the
>pipelines in a sitemap).

+1. You already can put any component declaration in <map:components>, 
so it's actually just a matter of reading this declaration in an 
external file.


Sylvain Wallez                                  Anyware Technologies 
{ XML, Java, Cocoon, OpenSource }*{ Training, Consulting, Projects }

View raw message