Improve validation in case of a range where only minimum or maximum is 
specified.
---------------------------------------------------------------------------------

                 Key: EXTVAL-104
                 URL: https://issues.apache.org/jira/browse/EXTVAL-104
             Project: MyFaces Extensions Validator
          Issue Type: Improvement
          Components: Property Validation
    Affects Versions: 1.1.3, 2.0.3, 1.2.3
            Reporter: Rudy De Busscher
            Priority: Minor


The range validations (@LongRange and @DoubleRange) are using the MIN_VALUE and 
MAX_VALUE (of Long or Double) in the case when the user doesn't supply a 
minimum or maximum value.
The JSF Validator therefore always uses the range validation error message 
(javax.faces.validator.LongRangeValidator.NOT_IN_RANGE ) like "Specified 
attribute is not between the expected values of 10 and 
9.223.372.036.854.775.807" when user specified only minimum like 
@LongRange(minimum=10)
Applying this improvement, the used message keys should be the same as by using 
the standard validators directly.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to