cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Reinhard Poetz <reinhard_po...@yahoo.de>
Subject Re: Splitting cocoon.xconf: done
Date Thu, 30 Dec 2004 16:44:10 GMT
Sylvain Wallez wrote:
> Carsten Ziegeler wrote:
> 
>> 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? ;-)
>>>
>> Hmmm, I'm too dumb to find a good answer :)
>> Seriously, I think we can go with this - although it would be easier to
>> understand if the include in the xconf would be relative to the xconf;
>> Your argumentation is correct, but I guess we will have to explain
>> this to users several times.
> 
> 
> 
> I understand this. Maybe my "overall consistency" point of view is too 
> much and we should handle it more "naturally"? What do people think?

Without thinking to much and too long, I agree with Carsten. I expect imported 
files relativ to where I import them.

-- 
Reinhard

Mime
View raw message