|
|
|
@ -1,5 +1,5 @@ |
|
|
|
/* |
|
|
|
/* |
|
|
|
* Copyright 2002-2008 the original author or authors. |
|
|
|
* Copyright 2002-2010 the original author or authors. |
|
|
|
* |
|
|
|
* |
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License"); |
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License"); |
|
|
|
* you may not use this file except in compliance with the License. |
|
|
|
* you may not use this file except in compliance with the License. |
|
|
|
@ -130,9 +130,9 @@ public abstract class AbstractBindingResult extends AbstractErrors implements Bi |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public String[] resolveMessageCodes(String errorCode, String field) { |
|
|
|
public String[] resolveMessageCodes(String errorCode, String field) { |
|
|
|
String fixedField = fixedField(field); |
|
|
|
Class fieldType = getFieldType(field); |
|
|
|
Class fieldType = getFieldType(fixedField); |
|
|
|
return getMessageCodesResolver().resolveMessageCodes( |
|
|
|
return getMessageCodesResolver().resolveMessageCodes(errorCode, getObjectName(), fixedField, fieldType); |
|
|
|
errorCode, getObjectName(), fixedField(field), fieldType); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|