commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 17644] New: - Multiple field elements with same property value not validated
Date Tue, 04 Mar 2003 19:52:20 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17644>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17644

Multiple field elements with same property value not validated

           Summary: Multiple field elements with same property value not
                    validated
           Product: Commons
           Version: 1.0.1 Final
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Validator
        AssignedTo: commons-dev@jakarta.apache.org
        ReportedBy: efarish@randomwalk.com


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

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message