cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ralph Goers <>
Subject Re: Core Documentation
Date Sun, 20 Nov 2005 17:45:49 GMT
You should create a component that implements the required Avalon 
interfaces and then declare it in cocoon.xconf. You will need to assign 
it a role (faily simple - look at other components to see how they do 
it). The code that uses the component then calls the component manager 
to look up the role and return the component attached to it. The manager 
will be initialized the first time it is looked up.

What do you mean by "attributes". Transformers, etc. can have hardwired 
attributes associated with them when they are configured in the 
component section of the sitemap. In addition, they can have parameters 
declared in the pipelines which are passed as parameters to the setup 


Stefan Pietschmann wrote:

> Hello Cocooners,
> I’m desperately looking for Cocoon Core Documentation of any kind. I 
> have – quite unsuccessfully – tried to get a clue from looking at the 
> soure, but this whole sitemap processing seems quite complex.
> What I need to do – and I will bug you with this in detail for sure 
> later – is in short: To setup a kind of manager object once the 
> sitemap is read. Then any element in a pipeline – like transform, act 
> etc – might have an additional attribute, which is to be evaluated by 
> this manager. So I need to know:
>    1. where to instanciate the manager
>    2. where and how to get the attributes of the pipeline elements
>       before they are appended to the ProcessingPipeline
>    3. and how to access the manager object from there
> For this any documentation or tips would be great… I read that 
> Bertrand gave an introduction on the Cocoon internals at the 
> CocoonGT2005. Are there any docs from there perhaps?
> Thanx alot,
> Stefan

View raw message