- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for addMessageParameter (0.1 sec)
-
src/main/java/org/codelibs/fess/validation/CustomSizeValidator.java
final HibernateConstraintValidatorContext hibernateContext = context.unwrap(HibernateConstraintValidatorContext.class); hibernateContext.disableDefaultConstraintViolation(); hibernateContext.addMessageParameter("min", min).addMessageParameter("max", max).buildConstraintViolationWithTemplate(message) .addConstraintViolation(); final int length = value.length(); return length >= min && length <= max; }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 2.8K bytes - Viewed (0)