Announcement Announcement Module
Collapse
No announcement yet.
AbstractWizardController::validatePagesAndFinish and errors Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • 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.
    Thanks!

  • #2
    This is a bug: http://opensource.atlassian.com/proj...browse/SPR-500
    I guess you can check the CVS if you can't wait the next release.

    Comment

    Working...
    X