This commit is contained in:
Keith Donald
2008-05-14 03:58:27 +00:00
parent 9059d00d7b
commit 9c02444861
2 changed files with 3 additions and 1 deletions

View File

@@ -30,6 +30,7 @@ Bug Fixes
* Fixed a bug resulting in loss of JSF ExternalContext state during execution of the JSF Lifecycle.
This bug was effecting integration of the Trindad component library, which requires a special Response object to be set for its Ajax support to work.
* Fixed a bug preventing resolution of flow-local messages for flows launched as subflows.
* Fixed a bug where field errors recorded using Errors.rejectValue were not being associated with the source field properly.
Documentation
* Added documentation on Spring Faces integration with Rich Faces, Trindad, and IceFaces.

View File

@@ -43,7 +43,8 @@ public class MessageContextErrors extends AbstractErrors {
}
public void rejectValue(String field, String errorCode, Object[] errorArgs, String defaultMessage) {
messageContext.addMessage(new MessageBuilder().error().code(errorCode).defaultText(defaultMessage).build());
messageContext.addMessage(new MessageBuilder().error().source(field).code(errorCode)
.defaultText(defaultMessage).build());
}
public void addAllErrors(Errors errors) {