DataBinder activates autoGrowNestedPaths by default; fixed enum binding with WebRequestDataBinder

This commit is contained in:
Juergen Hoeller
2009-10-13 20:55:57 +00:00
parent a293f50851
commit 84447cdf94
6 changed files with 342 additions and 40 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2002-2008 the original author or authors.
* Copyright 2002-2009 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -73,6 +73,7 @@ public class BeanPropertyBindingResult extends AbstractPropertyBindingResult imp
if (this.beanWrapper == null) {
this.beanWrapper = createBeanWrapper();
this.beanWrapper.setExtractOldValueForEditor(true);
this.beanWrapper.setAutoGrowNestedPaths(true);
}
return this.beanWrapper;
}