Author: amarkhel
Date: 2008-08-15 07:47:25 -0400 (Fri, 15 Aug 2008)
New Revision: 10111
Modified:
trunk/ui/beanValidator/src/main/java/org/richfaces/component/UIGraphValidator.java
Log:
Modified:
trunk/ui/beanValidator/src/main/java/org/richfaces/component/UIGraphValidator.java
===================================================================
---
trunk/ui/beanValidator/src/main/java/org/richfaces/component/UIGraphValidator.java 2008-08-15
11:38:01 UTC (rev 10110)
+++
trunk/ui/beanValidator/src/main/java/org/richfaces/component/UIGraphValidator.java 2008-08-15
11:47:25 UTC (rev 10111)
@@ -104,8 +104,9 @@
// send all validation messages.
for (String msg : messages) {
// TODO - create Summary message ?
+ String summary = null != getSummary() ? getSummary() + msg : msg;
context.addMessage(null, new FacesMessage(
- FacesMessage.SEVERITY_ERROR, getSummary() + msg, msg));
+ FacesMessage.SEVERITY_ERROR, summary, msg));
}
}
Show replies by date