Hi all, I am trying to create a cutom property editor where i extend the CustomEditorConfigurer class and override the setAsText method. How to i wire the bean in the xml file. I tried the sample example given in Sprin In Action but what should i enter in the <entry key > tag as?
<bean id="customEditorConfigurer" class="org.springframework.beans.factory.config.CustomEditorConfigurer"> <property name="customEditors"> <map> <entry key="what should be the value here"> <bean id="phoneEditor" class="com.springinaction.02.PhoneEditor"> </bean> </entry> </map> </property> </bean>
Kindly revert back with the solution.
Thanks and Regards, Pradeep Kumar [ May 21, 2008: Message edited by: Lasse Koskela ]
posted 7 years ago
I got it resolved. The key name should be the fully qualified class name whose peoperty we need to cutomize.