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

Reply via email to