Package org.eweb4j.mvc.validator.annotation

Examples of org.eweb4j.mvc.validator.annotation.Validate.except()


    Validate validate = m.getAnnotation(Validate.class);
    if (validate == null)
      return vals;
   
    String[] fields = validate.value();
    String[] excepts = validate.except();
    if (fields != null) {
      // 读取Action object 的属性 验证信息
      List<ValidatorConfigBean> fieldVal = ValidatorUtil.readValidator(fields,excepts, null, ru, null, null);
      if (fieldVal != null)
        vals.addAll(fieldVal);
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.