Ah.. I see. I had a .roles file first, but then decided to put it back to
cocoon.xconf. 

Thanks Sylvain :)

| -----Ursprüngliche Nachricht-----
| Von: Sylvain Wallez [mailto:[EMAIL PROTECTED]
| Gesendet: Montag, 5. Dezember 2005 09:11
| An: dev@cocoon.apache.org
| Betreff: Re: Very basic problem with custom Avalon component
| 
| 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

Reply via email to