I am using the wizard controller.
I some times use global errors and some times field errors.Before processFinish is called, the following code gets called:
private ModelAndView validatePagesAndFinish(HttpServletRequest request, HttpServletResponse response, Object command, BindException errors, int currentPage) throws Exception
This method does not seem to trean global errors as real errors in that if it finds just global errors, it will still call processFinish. If there are field errors, it does the following:
return showPage(request, errors, page);
What gives? I would like to give equal importance to both type of errors and not call processFinish.
Thanks!


Reply With Quote