cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Leszek Gawron <lgaw...@mobilebox.pl>
Subject Re: Restructuring directory structure[was [Vote] Block artifact directory structure]
Date Sat, 04 Nov 2006 15:24:44 GMT
Giacomo Pati wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> 
> 
> Leszek Gawron wrote:
>> Leszek Gawron wrote:
>>>> Yup,that was me. Before one could do that which has been handy together
>>>> with different modes:
>>> OK, lets enable cocoon modes for META-INF/cocoon/spring/ and
>>> META-INF/cocoon/avalon
>> To get things going: how do I get access to current cocoon running mode in:
>> - AvalonElementParser
>> - SitemapElementParser
>>
>> in order to pass it to ConfigurationReader?
> 
> It seems my knowledge of Spring internals is lacking alot. Reading the
> code I would say maybe somthing line
> 
> (Settings)(new RuntimeBeanReference(Settings.ROLE).getSource())

probably not, I need to access the bean itself - not the definition 
metadata. I do not know if that is possible - after all the context 
containing the settings bean is still in creation.

-- 
Leszek Gawron                                    CTO at MobileBox Ltd.


Mime
View raw message