Announcement Announcement Module
No announcement yet.
AbstractWizardController::validatePagesAndFinish and errors Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • AbstractWizardController::validatePagesAndFinish and errors

    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.

  • #2
    This is a bug:
    I guess you can check the CVS if you can't wait the next release.