new presentation model methods; ability to surpress commit of dirty value in PMB

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1643 50f2f4bb-b051-0410-bef5-90022cba6387
This commit is contained in:
Keith Donald
2009-07-27 21:49:09 +00:00
parent badb6131c1
commit f0947f51e4
5 changed files with 53 additions and 12 deletions
@@ -48,6 +48,7 @@ public class PresentationModelBinderTests {
bean = new TestBean();
presentationModel = new DefaultPresentationModel(bean);
binder = new PresentationModelBinder();
binder.setCommitDirtyValue(true);
LocaleContextHolder.setLocale(Locale.US);
}
@@ -34,7 +34,8 @@ public class WebBinderTests {
public void setUp() {
LocaleContextHolder.setLocale(Locale.US);
presentationModel = new DefaultPresentationModel(bean);
binder = new WebBinder();
binder = new WebBinder();
binder.setCommitDirtyValue(true);
}
@After