Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
Validation 1.0.0
-
None
Description
Currently each Validator can only set one error message through the String return value (SLING-4010). It should be possible for one Validator.validate call to set multiple validation messages at once.
Maybe the solution radu.cotescu proposed in https://issues.apache.org/jira/browse/SLING-4027?focusedCommentId=14219170&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14219170 can be used here to just pass the ValidationResult around.