You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by "raj (JIRA)" <ji...@apache.org> on 2006/12/14 08:29:21 UTC

[jira] Created: (VALIDATOR-217) org.apache.commons.validator.ValidatorResults should contain a method which will tell whether all the validators are true

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


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: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


[jira] Updated: (VALIDATOR-217) org.apache.commons.validator.ValidatorResults should contain a method which will tell whether all the validators are true

Posted by "Niall Pemberton (JIRA)" <ji...@apache.org>.
     [ 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: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org