cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sylvain Wallez <sylv...@apache.org>
Subject Re: <map:include>
Date Sat, 03 Sep 2005 07:21:54 GMT
Mark Lundquist wrote:

>
> Hi,
>
> I have yet to use <map:include>, but now that I want it I get 
> "org.apache.avalon.framework.configuration.ConfigurationException: 
> Element 'include' is not allowed at blah blah blah..."
>
> I thought this was in 2.1.7... ?  But there's no mention of it 
> athttp://cocoon.apache.org/2.1/changes.html#version_2.1.7


It's in 2.2 only...

> I looked at components/treeprocessor/treeprocessor-builtins.xml, 
> thinking it would have to be in there if it's supported, and didn't 
> find it.  But then, I didn't find it in BRANCH_2_1_X either, and then 
> I didn't find it in trunk/ in sitemap-language.xml, which I presume 
> replaces treemap-builtins.xml, either... (I don't really know anything 
> about the sitemap implementation, I'm just grubbing  around...)


It's not handled by the treeprocessor, but by the CoreServiceManager 
which is configured with the contents of <map:components>. It's not a 
new sitemap instruction, which is why you haven't found it in 
sitemap-language.xml

> d'uh... what am I missing?


Well, that's <include> that is missing :-)

Sylvain

-- 
Sylvain Wallez                        Anyware Technologies
http://people.apache.org/~sylvain     http://www.anyware-tech.com
Apache Software Foundation Member     Research & Technology Director


Mime
View raw message