@Controller
@RequestMapping(value="/editowner/{assessmentNo}")
public class EditOwnerDetailsController
extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static String |
OWNERDETAILS_FROM |
protected static String |
OWNERDETAILS_SUCCESS |
| Constructor and Description |
|---|
EditOwnerDetailsController() |
| Modifier and Type | Method and Description |
|---|---|
PropertyOwner |
getPropertyOwner(String assessmentNo) |
String |
newForm(PropertyOwner propertyOwner,
org.springframework.ui.Model model,
String assessmentNo) |
String |
updateOwnerDetails(PropertyOwner propertyOwner,
org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttrs,
org.springframework.validation.BindingResult errors,
org.springframework.ui.Model model,
javax.servlet.http.HttpServletRequest request,
String doorNumber) |
protected static final String OWNERDETAILS_FROM
protected static final String OWNERDETAILS_SUCCESS
@ModelAttribute public PropertyOwner getPropertyOwner(@PathVariable String assessmentNo)
@RequestMapping(method=GET) public String newForm(@ModelAttribute PropertyOwner propertyOwner, org.springframework.ui.Model model, @PathVariable String assessmentNo)
@RequestMapping(method=POST) public String updateOwnerDetails(@ModelAttribute PropertyOwner propertyOwner, org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttrs, org.springframework.validation.BindingResult errors, org.springframework.ui.Model model, javax.servlet.http.HttpServletRequest request, @RequestParam String doorNumber)
Copyright © 2015–2017 eGovernments Foundation. All rights reserved.