Results 1 to 2 of 2

Thread: AbstractWizardController::validatePagesAndFinish and errors

  1. #1
    Join Date
    Aug 2004
    Posts
    9

    Default 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. #2

    Default

    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.

Similar Threads

  1. Replies: 17
    Last Post: Jan 2nd, 2007, 01:43 PM
  2. Replies: 1
    Last Post: Oct 17th, 2005, 01:04 PM
  3. Add to errors in FormAction
    By garethmorgan in forum Web Flow
    Replies: 5
    Last Post: Jul 21st, 2005, 09:23 AM
  4. Replies: 1
    Last Post: Apr 28th, 2005, 01:54 PM
  5. Replies: 2
    Last Post: Sep 10th, 2004, 08:47 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •