You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by "Niall Pemberton (JIRA)" <ji...@apache.org> on 2006/07/19 16:16:16 UTC

[jira] Updated: (VALIDATOR-11) Multiple field elements with same property value not validated

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

Niall Pemberton updated VALIDATOR-11:
-------------------------------------

    Component/s: Framework

> Multiple field elements with same property value not validated
> --------------------------------------------------------------
>
>                 Key: VALIDATOR-11
>                 URL: http://issues.apache.org/jira/browse/VALIDATOR-11
>             Project: Commons Validator
>          Issue Type: Bug
>          Components: Framework
>    Affects Versions: Nightly Builds
>         Environment: Operating System: other
> Platform: Other
>            Reporter: Eric Farish
>
> When defining a validations.xml doc, I've come across the problem that field 
> elements with the same property value will not be returned in the 
> ValidatorResults when the validation fails. For instance, if within ur 
> validations.xml you've defined the following....
> <form name="aForm">
> <field property="field1"  depends="dependecy1" /> 
> <field property="field1"  depends="dependecy2" /> 
> </form>
> If both validations fail, the ValidatorResults will only contain the failure 
> related to dependecy2  event though validation methods corresponding to 
> dependecy1 and  dependecy2 are called. Is this by design? Should u define 
> multiple field elements with the same property value?
> Thx

-- 
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