DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=37704>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=37704 ------- Additional Comments From [EMAIL PROTECTED] 2006-01-08 22:29 ------- (In reply to comment #2) > No I can't do it with the methods you're talking about, here is the code I am using: I think you're wrong, why wouldn't the following work? Set set = validatorResults.getPropertyNames(); Map propertyMap = new HashMap(); for (Iterator iter = set.iterator(); iter.hasNext();) { String property= (String) iter.next(); propertyMap.put(property, Boolean.TRUE); ValidatorResult result = validatorResults.getValidatorResult(property); Iterator map = result.getActionMap(); for (Iterator iterator = map.keySet().iterator(); iterator.hasNext();) { String validatorName = (String)iterator.next(); if (!result.isValid(validatorName)) { propertyMap.put(property, Boolean.FALSE); break; } } } -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
