cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vadim Gritsenko <>
Subject Re: [2.2] Using includes in the sitemap for components?
Date Thu, 01 Sep 2005 12:27:16 GMT
Daniel Fagerstrom wrote:
> I have something like this in mind:
> /myblock
>    block.xml
>    /sitemap-aditions
>  /webapp
>    sitemap.xmap

The block A which depends on block B will have access to:

   * Exported Java classes of block A
   * Components of block A
   * Sitemap components of block A

(third bullet here is repeating second, but it's here for clarity).

Given the above, what is the point of 'sitemap-additions'?

> For real blocks the block.xml points to webapp/sitemap.xmap and 
> COB-INF/xconf/myblock.xconf, and sitemap.xmap in turn includes 
> COB-INF/sitemap-additions/myblock.xconf, and no copying anymore.

Or, you simply mean, block's sitemap.xmap will import 
/COB-INF/sitemap-additions/* into itself? If that is so, then again, what is the 
point in doing it? :)

PS Suggestion, rename 'sitemap-additions' to 'xmap' for consistency...


View raw message