You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by bu...@apache.org on 2003/03/04 20:52:20 UTC
DO NOT REPLY [Bug 17644] New: -
Multiple field elements with same property value not validated
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