@Controller @RequestMapping(value="/admin/provider/provider.form") public class ProviderFormController extends Object
Modifier and Type | Field and Description |
---|---|
protected org.apache.commons.logging.Log |
log |
Constructor and Description |
---|
ProviderFormController() |
Modifier and Type | Method and Description |
---|---|
Provider |
formBackingObject(Integer providerId) |
List<ProviderAttributeType> |
getProviderAttributeTypes() |
protected void |
initBinder(org.springframework.web.bind.WebDataBinder binder) |
String |
onSubmit(javax.servlet.http.HttpServletRequest request,
String saveProviderButton,
String retireProviderButton,
String unretireProviderButton,
String purgeProviderButton,
Provider provider,
org.springframework.validation.BindingResult errors,
org.springframework.ui.ModelMap model) |
String |
showForm() |
String |
showForm(Integer providerId) |
@InitBinder protected void initBinder(org.springframework.web.bind.WebDataBinder binder) throws Exception
Exception
@RequestMapping(method=POST) public String onSubmit(javax.servlet.http.HttpServletRequest request, @RequestParam(required=false) String saveProviderButton, @RequestParam(required=false) String retireProviderButton, @RequestParam(required=false) String unretireProviderButton, @RequestParam(required=false) String purgeProviderButton, @ModelAttribute(value="provider") Provider provider, org.springframework.validation.BindingResult errors, org.springframework.ui.ModelMap model) throws Exception
Exception
@ModelAttribute(value="provider") public Provider formBackingObject(@RequestParam(required=false) Integer providerId) throws javax.servlet.ServletException
javax.servlet.ServletException
@ModelAttribute(value="providerAttributeTypes") public List<ProviderAttributeType> getProviderAttributeTypes() throws Exception
Exception
@RequestMapping(method=GET) public String showForm()
Copyright © 2015 OpenMRS Inc.. All rights reserved.