DoubleRangeFieldValidator missing in the Validations Container
[email protected] Thu, 16 Oct 2025 18:42:35 +0000
| Newsgroups | gmane.comp.jakarta.struts.user |
|---|---|
| Message-ID | <trinity-8a199d46-92fa-40f5-ab13-3bfd3fc6b00d-1760640155774@trinity-msg-rest-webde-webde-live-f747bc64b-kwpk2> |
Hi,
is there a reason why I can not use @DoubleRangeFieldValidator in the @Validations Container?
I chose the way of validating with Annotations in the Action class and used
@Validations(
requiredStrings = {@RequiredStringValidator...},
requiredFields = {@RequiredFieldValidator...},
stringLengthFields = {@StringLengthFieldValidator...},
regexFields = {@RegexFieldValidator...},
intRangeFields = {@IntRangeFieldValidator...},
longRangeFields = {@LongRangeFieldValidator...})
But I can not find a way to do the same for the DoubleRangeFieldValidator.
(I can do with xml, scattering the validations on several places.)
This is what I checked so far:
- https://struts.apache.org/core-developers/validations-annotation
- org.apache.struts2.validator.annotations.Validations.java
Thx Ute