Hello,
I'm trying to create a "StatePropertyEditor", which is supposed to transform a string (the id of the state) that comes from a dropdown of state selection. This property editor needs to consult the database and get the state object from its primary key.
The problem that my "stateService" attribute isn't being setted by spring. I make a right declaration of the "StatePropertyEditor" bean in applicationContext.xml, I create its "stateService" property, refering it to "stateService" bean, but in my StatePropertyEditor class, "stateService" is null.
Am I making some stupid mistake? Is there any "trick" on spring's Ioc when working with property editors?
Thanks very much.
Mauricio


Reply With Quote
