[ 
https://issues.apache.org/jira/browse/SLING-5026?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Konrad Windszus updated SLING-5026:
-----------------------------------
    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.

  was:
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.
May 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.


> Allow to set multiple validation error messages in one Validator
> ----------------------------------------------------------------
>
>                 Key: SLING-5026
>                 URL: https://issues.apache.org/jira/browse/SLING-5026
>             Project: Sling
>          Issue Type: Improvement
>    Affects Versions: Validation 1.0.0
>            Reporter: Konrad Windszus
>            Assignee: Konrad Windszus
>             Fix For: Validation 1.0.0
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to