cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Carsten Ziegeler <cziege...@apache.org>
Subject Re: Configuring BlockServlets via properties and sitemap reloading for blocks
Date Tue, 17 Oct 2006 22:27:55 GMT
Daniel Fagerstrom schrieb:
> Alexander Klimetschek skrev:
>> 1) I'd like to configure the mountPath to the blocks in the webapp, 
>> because the blocks itself are generic; I have tried it with a 
>> properties file manually placed in WEB-INF/cocoon/properties that sets 
>> the mountPath:
>>
>> com.domain.package.blockA.mountPath=foo
>>
>> But this does not work. How can I override the setting in the bean 
>> config XML with a property?
> The possibility to override bean properties is very new and I have not 
> tested it yet, see 
> http://marc.theaimsgroup.com/?t=116012787900003&r=1&w=2 for a 
> description of how it is supposed to work. I am not certain that it is 
> tested yet. Maybe Carsten can say something about it.
> 
It's tested and working :) The property file has to be placed into
WEB-INF/cocoon/spring as these properties are configuration overrides
for spring beans as opposed to configuration properties for the "whole
system".

Carsten
-- 
Carsten Ziegeler - Open Source Group, S&N AG
http://www.s-und-n.de
http://www.osoco.org/weblogs/rael/


Mime
View raw message