Examples of validatePage1Form()


Examples of com.fengjing.framework.springmvc.handling.multipage.forms.validator.UserValidator.validatePage1Form()

  protected void validatePage(Object command, Errors errors, int page) {
    UserValidator validator = (UserValidator) getValidator();
    //page is 0-indexed
    switch (page) {
       case 0: //if page 1 , go validate with validatePage1Form
      validator.validatePage1Form(command, errors);
      break;
       case 1: //if page 2 , go validate with validatePage2Form
      validator.validatePage2Form(command, errors);
      break;
       case 2: //if page 3 , go validate with validatePage3Form
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.