|
From: Steven D. <ste...@gm...> - 2005-01-06 13:18:23
|
I register a delegating property editor like this: <bean class="org.springframework.beans.factory.config.CustomEditorConfigurer"> <property name="customEditors"> <map> <entry key="java.lang.Object"> <bean class="sandbox.DelegatingPropertyEditor"> <property name="delegates"> <map> <entry key="classpath"> <bean class="org.springframework.beans.propertyeditors.InputStreamEditor"/> </entry> <entry key="class"> <bean class="org.springframework.beans.propertyeditors.ClassEditor"/> </entry> </map> </property> </bean> </entry> </map> </property> </bean> When I create this bean my property editor is not called. Why is that? <bean id="aList" class="java.util.ArrayList"> <constructor-arg> <list> <value>classpath:sandbox.xml</value> <value>class:sandbox.TestSandBox</value> <value>a string</value> </list> </constructor-arg> </bean> Steven |