new presentation model methods; ability to surpress commit of dirty value in PMB
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user