cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Carsten Ziegeler <cziege...@apache.org>
Subject Re: Problems with writing sitemap components as spring beans
Date Mon, 01 Jan 2007 17:39:20 GMT
Daniel Fagerstrom wrote:
> Carsten Ziegeler skrev:
>> I think this is possible by creating a proxy around the generator with
>> the special sitemap support.
> 
> Seem like a good solution.
> 
> I've tried to find out how label handling for sitemap components is 
> solved now. But didn't found where in the code it is done, can you give 
> me a pointer?
> 
The avalon bridge provides a ProcessorComponentInfo for the tree
processor. This bean is created in the AvalonElementParser in the
registerComponentInfo method. It loops through all registered components
and gets the label etc. configuration from the sitemap components and
registers them in the processor component info bean.

The tree processor looks up the ProcessorComponentInfo bean and provides
the informationen to the various parts in the tree processor

HTH
Carsten

-- 
Carsten Ziegeler - Chief Architect
http://www.s-und-n.de
http://www.osoco.org/weblogs/rael/

Mime
View raw message