Package ch.ralscha.extdirectspring.bean

Examples of ch.ralscha.extdirectspring.bean.ExtDirectFormPostResult.addError()


  public ExtDirectFormPostResult updateInfoJsonDirectError(Locale locale,
      HttpServletRequest request, HttpServletResponse response,
      @Valid FormInfo formInfo) {

    ExtDirectFormPostResult e = new ExtDirectFormPostResult();
    e.addError("age", "age is wrong");
    return e;
  }

  @SuppressWarnings("unused")
  @ExtDirectMethod(value = ExtDirectMethodType.FORM_POST_JSON)
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.