public Object getFieldValue(String field) {
// requires boundObject, and expressionParser to work
if (mappingResults != null) {
List results = mappingResults.getResults(new PropertyErrorMappingResult(field));
if (!results.isEmpty()) {
MappingResult fieldError = (MappingResult) results.get(0);
return fieldError.getOriginalValue();
}
}
return parseFieldExpression(field).getValue(boundObject);
}