Though somewhat familiar with custom PropertyEditors and the initBinder method of Controller, I am struggling to figure out how to bind the combination of two submission fields to a single property of the command object.
Example:
An HTML form that allows the user to input a date with dropdowns for month, day, and year that maps/binds to a java.util.Date property of the form-backing command object.
While it would be fun to write the "Hibernate" of Object-HTML-Mapping in the long-term, in the short-term I'm hoping that at least a case-specific mapping can be plugged in easily to Spring somwhere. Any suggestions?
- Michael Alford


Reply With Quote