|
|
|
|
@ -953,6 +953,7 @@ public class BeanWrapperImpl extends AbstractPropertyAccessor implements BeanWra
@@ -953,6 +953,7 @@ public class BeanWrapperImpl extends AbstractPropertyAccessor implements BeanWra
|
|
|
|
|
if (isExtractOldValueForEditor() && index < list.size()) { |
|
|
|
|
oldValue = list.get(index); |
|
|
|
|
} |
|
|
|
|
// TODO method parameter nesting level should be token.keys.length + 1
|
|
|
|
|
Object convertedValue = convertIfNecessary(propertyName, oldValue, pv.getValue(), requiredType, |
|
|
|
|
PropertyTypeDescriptor.forNestedType(requiredType, new MethodParameter(pd.getReadMethod(), -1), pd)); |
|
|
|
|
if (index < list.size()) { |
|
|
|
|
@ -990,6 +991,7 @@ public class BeanWrapperImpl extends AbstractPropertyAccessor implements BeanWra
@@ -990,6 +991,7 @@ public class BeanWrapperImpl extends AbstractPropertyAccessor implements BeanWra
|
|
|
|
|
} |
|
|
|
|
// Pass full property name and old value in here, since we want full
|
|
|
|
|
// conversion ability for map values.
|
|
|
|
|
// TODO method parameter nesting level should be token.keys.length + 1
|
|
|
|
|
Object convertedMapValue = convertIfNecessary( |
|
|
|
|
propertyName, oldValue, pv.getValue(), mapValueType, |
|
|
|
|
PropertyTypeDescriptor.forNestedType(mapValueType, new MethodParameter(pd.getReadMethod(), -1), pd)); |
|
|
|
|
|