[ http://issues.apache.org/jira/browse/VALIDATOR-217?page=all ]

Niall Pemberton updated VALIDATOR-217:
--------------------------------------

    Fix Version/s: Validator2

This isn't high on my priority ATM - targeting for validator2

> org.apache.commons.validator.ValidatorResults should contain a method which 
> will tell whether all the validators are true
> -------------------------------------------------------------------------------------------------------------------------
>
>                 Key: VALIDATOR-217
>                 URL: http://issues.apache.org/jira/browse/VALIDATOR-217
>             Project: Commons Validator
>          Issue Type: Improvement
>          Components: Framework
>         Environment: All
>            Reporter: raj
>            Priority: Critical
>             Fix For: Validator2
>
>
> The org.apache.commons.validator.ValidatorResults does not contain any method 
> which gives me a consolidated result. As a developer i am interested in 
> knowing whether all the validations are true. Only if there is any failure i 
> will go through the individual ValidatorResult. But ValidatorResults doesnt 
> provide me such a method. Because of this each time i run the 
> Validator.validate method i get a ValidatorResults and i need to parse 
> through each ValidatorResult in ValidatorResults to know whether the 
> validation is successful.
> If there is a method in ValidatorResults which will give me a consolidated 
> result probably a boolean true then i need not parse the ValidatorResults for 
> each field and check whether it is validated.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to