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

This commit is contained in:
Keith Donald
2009-07-27 21:49:09 +00:00
parent 0f434883dd
commit f0ca94d5f3
5 changed files with 53 additions and 12 deletions

View File

@@ -48,6 +48,7 @@ public class PresentationModelBinderTests {
bean = new TestBean();
presentationModel = new DefaultPresentationModel(bean);
binder = new PresentationModelBinder();
binder.setCommitDirtyValue(true);
LocaleContextHolder.setLocale(Locale.US);
}

View File

@@ -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