cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sylvain Wallez <sylv...@apache.org>
Subject Re: Very basic problem with custom Avalon component
Date Mon, 05 Dec 2005 08:10:40 GMT
Stefan Pietschmann wrote:
> Hi Cocooners,
>
> something's going wrong with my first Avalon experiments.
> I stripped it down to this simple case - i just don't seem to find out what
> the problem with this is:
>
> ## cocoon.xconf ######################################
>
> <component role="de.foo.bar.TestComponent" shorthand="test"
> default-class="de.foo.bar.impl.TestComponentImpl"/>
>   

That should be class="de.foo.bar.impl.TestComponentImpl". The 
default-class attribute is for cocoon.roles, and is used when a 
component is looked up but no explicit declaration exists in cocoon.xconf.

> Why oh why?
>   

Because ExcaliburComponentManager doesn't check if there's a class name :-/

Sylvain

-- 
Sylvain Wallez                        Anyware Technologies
http://bluxte.net                     http://www.anyware-tech.com
Apache Software Foundation Member     Research & Technology Director


Mime
View raw message