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=15396>.
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=15396
Indexed properties not being set in ValidatorResults
------- Additional Comments From matias@k-bell.com 2002-12-16 21:27 -------
Multiple errors get overwritten much as multiple return values do. Look in
ValidatorResult.java, line 117:
hResults.put(field.getKey(), result);
The problem is, both errors and values should be indexed in ValidatorResult;
with this modification, you have to manually construct the key (using
ValidatorUtils.replace()), but at least you don't lose info.
I confess I'm not using Struts, but I'm using Validator in standalone fashion,
so maybe my needs are very particular.
Matías.
--
To unsubscribe, e-mail: <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>
|