@ -39,7 +39,7 @@ public class AddOwnerForm {
@InitBinder
public void setAllowedFields(WebDataBinder dataBinder) {
dataBinder.setDisallowedFields(new String[] {"id"});
dataBinder.setDisallowedFields("id");
}
@RequestMapping(method = RequestMethod.GET)
@ -49,7 +49,7 @@ public class AddPetForm {
@ -41,7 +41,7 @@ public class AddVisitForm {
@ -39,7 +39,7 @@ public class EditOwnerForm {
@ -47,7 +47,7 @@ public class EditPetForm {
@ -35,7 +35,7 @@ public class FindOwnersForm {
@RequestMapping(value = "/owners/search", method = RequestMethod.GET)