presentation model binder

This commit is contained in:
Keith Donald
2009-07-24 23:20:49 +00:00
parent 8709959a98
commit de5528840d
3 changed files with 5 additions and 5 deletions

View File

@@ -34,7 +34,7 @@ import org.springframework.util.Assert;
* @see #setRequiredFields(String[])
* @see #bind(Map)
*/
public class GenericBinder implements Binder {
public class PresentationModelBinder implements Binder {
private PresentationModel presentationModel;
@@ -42,7 +42,7 @@ public class GenericBinder implements Binder {
private MessageSource messageSource;
public GenericBinder(PresentationModel presentationModel) {
public PresentationModelBinder(PresentationModel presentationModel) {
Assert.notNull(presentationModel, "The PresentationModel is required");
this.presentationModel = presentationModel;
}

View File

@@ -29,7 +29,7 @@ import org.springframework.ui.binding.PresentationModel;
* @see #setDefaultPrefix(String)
* @see #setPresentPrefix(String)
*/
public class WebBinder extends GenericBinder {
public class WebBinder extends PresentationModelBinder {
private String defaultPrefix = "!";