Re: New Features for the spring configurator

2007-02-27 Thread Leszek Gawron
Carsten Ziegeler wrote: Leszek Gawron wrote: The perfect situation for me would be to have a ProfileAwarePropertyPlaceholderConfigurer that could be used like that: bean id=placeholderConfig class=org.apache.cocoon.spring.ProfileAwarePropertyPlaceholderConfigurer

Re: New Features for the spring configurator

2007-02-26 Thread Leszek Gawron
Carsten Ziegeler wrote: So my idea was to start simple and extend the functionality if needed. First step was to always include all configurations, the next step will be to disable this. I'll update the code today. Ok, forget most of the stuff I said above, you can disable the inclusion by

Re: New Features for the spring configurator

2007-02-26 Thread Reinhard Poetz
Carsten Ziegeler wrote: Leszek Gawron wrote: controlled via an additional attribute). I have been trying to use configurator outside cocoon for my other spring based projects. Thing is the configurator automatically imports property files and contexts in META-INF/cocoon/spring. What should I

Re: New Features for the spring configurator

2007-02-26 Thread Carsten Ziegeler
Reinhard Poetz wrote: I wanted to write a mail about this today, funny. My usecase is that I want to replace Xalan by Saxon. Am I right that creating a cocoon-xalan module would be the best solution for this because it would make it possible to exclude it at POM level. Yes, this is

Re: New Features for the spring configurator

2007-02-26 Thread Reinhard Poetz
Carsten Ziegeler wrote: Reinhard Poetz wrote: I wanted to write a mail about this today, funny. My usecase is that I want to replace Xalan by Saxon. Am I right that creating a cocoon-xalan module would be the best solution for this because it would make it possible to exclude it at POM

Re: New Features for the spring configurator

2007-02-26 Thread Carsten Ziegeler
Reinhard Poetz wrote: Carsten Ziegeler wrote: Reinhard Poetz wrote: I wanted to write a mail about this today, funny. My usecase is that I want to replace Xalan by Saxon. Am I right that creating a cocoon-xalan module would be the best solution for this because it would make it

Re: New Features for the spring configurator

2007-02-26 Thread Reinhard Poetz
Carsten Ziegeler wrote: Reinhard Poetz wrote: Carsten Ziegeler wrote: Reinhard Poetz wrote: I wanted to write a mail about this today, funny. My usecase is that I want to replace Xalan by Saxon. Am I right that creating a cocoon-xalan module would be the best solution for this because it

Re: New Features for the spring configurator

2007-02-26 Thread Carsten Ziegeler
Reinhard Poetz wrote: Hmm, yes and no :) Our xslt transformer implementation uses an xslt processor. So we can define a static xalan xslt processor together with a static xalan xslt transformer. And this works because when the processor bean is created by Spring there is no need to have

Re: New Features for the spring configurator

2007-02-26 Thread Reinhard Poetz
Carsten Ziegeler wrote: Reinhard Poetz wrote: Hmm, yes and no :) Our xslt transformer implementation uses an xslt processor. So we can define a static xalan xslt processor together with a static xalan xslt transformer. And this works because when the processor bean is created by Spring there is

Re: New Features for the spring configurator

2007-02-25 Thread Carsten Ziegeler
Leszek Gawron wrote: controlled via an additional attribute). I have been trying to use configurator outside cocoon for my other spring based projects. Thing is the configurator automatically imports property files and contexts in META-INF/cocoon/spring. What should I do to have limit

Re: New Features for the spring configurator

2007-02-25 Thread Carsten Ziegeler
Carsten Ziegeler wrote: Leszek Gawron wrote: controlled via an additional attribute). I have been trying to use configurator outside cocoon for my other spring based projects. Thing is the configurator automatically imports property files and contexts in META-INF/cocoon/spring. What should

Re: New Features for the spring configurator

2007-02-23 Thread Leszek Gawron
Carsten Ziegeler wrote: Hi, in the last days while converting the portal block from spring to avalon I added two features to our spring configurator: 1. It's now possible to define default values for properties directly in the property reference, so you can write a reference to the property