String reformatedObject = format.format(parsedObject);
result = format.parseObject(reformatedObject);
} catch(ParseException parseexception) {
String keyPath = _value.keyPath();
ERXValidationException validationexception = new ERXValidationException(ERXValidationException.InvalidValueException, parseexception, keyPath, stringValue);
component.validationFailedWithException(validationexception, stringValue, keyPath);
return;
}
}
if(result != null && _useDecimalNumber != null && _useDecimalNumber.booleanValueInComponent(component)) {
result = new BigDecimal(result.toString());