cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Reinhard Poetz <reinh...@apache.org>
Subject Re: PropertyOverrideConfigurer & constructor arguments
Date Mon, 27 Nov 2006 08:15:01 GMT
Carsten Ziegeler wrote:
> Reinhard Poetz wrote:
>> Alexander Klimetschek wrote:
>>> I got it working when I placed the properties file in my webapp-module 
>>> under WEB-INF/cocoon/spring and naming the property
>>>
>>> <bean-id>/<param>=<value>
>>>
>>> so for example:
>>>
>>> com.domain.package.blockA/mountPath=/foo
>> Does anybody know the syntax to override contructor arguments too?
>>
> I think it's not possible to override constructor arguments with this
> mechanism.

yes, after digging into the source code of Spring I came to the same conclusion.

-- 
Reinhard Pötz           Independent Consultant, Trainer & (IT)-Coach 

{Software Engineering, Open Source, Web Applications, Apache Cocoon}

                                        web(log): http://www.poetz.cc
--------------------------------------------------------------------

		
___________________________________________________________ 
Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de

Mime
View raw message