Hallo,
I'd like to use doSubmitAction() instead of onSubmit() in a simple controller, but obviously my referenceData() is called but the returned Map isn't merged with the ModelAndView.
Code that work:
Code:@Override protected ModelAndView onSubmit(HttpServletRequest request, HttpServletResponse response, Object command, BindException errors) throws Exception { // ... my save methods ... return showForm(request, response, errors); }
Code that doesnt' work:
Code:@Override protected void doSubmitAction(Object command) throws Exception { // ... my save methods ... }
In the latter case the form is correctly redisplayed, but all data set by referenceData() is missing.
Any hints?
Best
Oliver


Reply With Quote