cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joerg Heinicke <joerg.heini...@gmx.de>
Subject Re: Help with Component Configuration
Date Sat, 12 Nov 2005 17:00:52 GMT
On 12.11.2005 00:15, Matt Kendall wrote:

> I'm trying to write a component that will connect to CVS. I'm using a
> component because I need to interact with it from several different
> sitemap components, so I figured that this was easiest.
> 
> The problem I'm having is that Cocoon doesn't seem to pick up the
> configuration that I'm placing in cocoon.xconf. The component seems to
> get registered OK, but it doesn't get passed the configuration
> information. As soon as I try to use the component, in an Action for
> the moment, I errors due to an empty configuration object inside of
> CVSComponentImpl.  If I do a toString on the configuration object, I
> get "::<no value>:@-".
> 
> I'm really not sure what I'm doing wrong. Hopefully it's something
> incredibly simple.

How do you look up your component? Pure instantiation (new 
CVSComponentImpl()) is not sufficient.

Jörg

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message