I have been tracing the workflow of my AbstractWizardFormController subclass and have noticed that the initBinder method is executed regardless of whether the request is GET or POST.
According to the JavaDoc for the AbstractFormController,
http://www.springframework.org/docs/api/index.html
the workflow only mentions that this method is executed for a GET (i.e. a request for a new form) - Apparently it is executed for a POST as well (the doc doesn't say explicitly that it isn't executed during a POST)
The issue is that I am instantiating and registering all my propertyEditors in this method and it is repeatedly executed. I figured that I would only need to register these editors once - when the form is initialized...
Any comments or suggestions as to where to "actually" instantiate and register the propertyEditors properly with SpringMVC.


Reply With Quote
