for Keith and his binder: fault in support for maps (if attempt made to reference into null map) and for general objects, e.g. foo.bar if foo was null, attempt to dynamically build foo.
This commit is contained in:
@@ -104,7 +104,7 @@ public class GenericBinder implements Binder {
|
||||
Assert.notNull(model, "The model to bind to is required");
|
||||
this.model = model;
|
||||
bindingFactories = new LinkedHashSet<BindingFactory>();
|
||||
int parserConfig = SpelExpressionParserConfiguration.CreateListsOnAttemptToIndexIntoNull
|
||||
int parserConfig = SpelExpressionParserConfiguration.CreateObjectIfAttemptToReferenceNull
|
||||
| SpelExpressionParserConfiguration.GrowListsOnIndexBeyondSize;
|
||||
expressionParser = new SpelExpressionParser(parserConfig);
|
||||
typeConverter = new DefaultTypeConverter();
|
||||
|
||||
Reference in New Issue
Block a user