@Controller @RequestMapping(value="/licensecategory") public class UpdateCategoryController extends Object
| Constructor and Description |
|---|
UpdateCategoryController() |
| Modifier and Type | Method and Description |
|---|---|
org.egov.tl.entity.LicenseCategory |
licenseCategory(String code) |
String |
showUpdateCategoryForm() |
String |
updateCategory(org.egov.tl.entity.LicenseCategory licenseCategory,
org.springframework.validation.BindingResult bindingResult,
org.springframework.web.servlet.mvc.support.RedirectAttributes responseAttrbs) |
@ModelAttribute
public org.egov.tl.entity.LicenseCategory licenseCategory(@PathVariable
String code)
@RequestMapping(value="/update/{code}",
method=GET)
public String showUpdateCategoryForm()
@RequestMapping(value="/update/{code}",
method=POST)
public String updateCategory(@ModelAttribute
org.egov.tl.entity.LicenseCategory licenseCategory,
org.springframework.validation.BindingResult bindingResult,
org.springframework.web.servlet.mvc.support.RedirectAttributes responseAttrbs)
Copyright © 2015–2017 eGovernments Foundation. All rights reserved.