-
Jun 14th, 2011, 08:26 AM
#1
How to remove or replace Spring MVC's default property editor?
I need to write a Integer property editor that accepts empty value and sets corresponding fields of an object to null. It seems that the built-in Integer property editor cannot do that.
I added the new Integer property editor as I did for other custom property editor (they work), but it is not working. It seems the new custom property editor does not replace the built-in one.
How to remove or replace Spring default property editor?
Thanks for help!
All the best.
-
Jun 14th, 2011, 10:36 AM
#2
My bad. I did not notice that my Integer field is defined as "int". I changed it to Integer and then everything is working.
Last edited by Springsky; Jun 14th, 2011 at 11:37 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules