Sylvain Wallez wrote:

I see a misunderstanding: "context" (or "local context") is not to be confused with "root context". When loading the root cocoon.xconf, the local context is the root context. When loading a sitemap, the local context is the sitemap location and any <include> in <map:component> will use that local context.


So, to summarize, <include> uses the local context (either root context or sitemap location), but not the configuration file's location.

How does that sound to a dumb user? ;-)

Is "root context" here is a webapp context root ('/'), or is it location of the root sitemap (<sitemap file="/path/to/my/root/sitemap.xmap" logger="sitemap"/>)?


So does it resolve relative to "/" or relative to root sitemap?

Vadim

Reply via email to