cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vadim Gritsenko <va...@reverycodes.com>
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
>  /COB-INF
>    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...

Vadim

Mime
View raw message