@Controller @RequestMapping(value="/authority.edit.page") public class AuthorityFormController extends Object implements org.springframework.beans.factory.InitializingBean
Constructor and Description |
---|
AuthorityFormController() |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
void |
initBinder(org.springframework.web.bind.WebDataBinder binder)
initBinder
|
protected String |
processSubmit(AuthorityDTO authority,
org.springframework.validation.BindingResult result,
org.springframework.web.bind.support.SessionStatus status)
processSubmit
|
String |
setupForm(Integer id,
org.springframework.ui.ModelMap model)
setupForm
|
@RequestMapping(method=POST) protected String processSubmit(@ModelAttribute(value="authority") AuthorityDTO authority, org.springframework.validation.BindingResult result, org.springframework.web.bind.support.SessionStatus status)
processSubmit
authority
- a AuthorityDTO
object.result
- a BindingResult
object.status
- a SessionStatus
object.String
object.@InitBinder public void initBinder(org.springframework.web.bind.WebDataBinder binder) throws Exception
initBinder
binder
- a WebDataBinder
object.Exception
- if any.@RequestMapping(method=GET) public String setupForm(@RequestParam(required=false,value="aid") Integer id, org.springframework.ui.ModelMap model)
setupForm
Copyright © 2015. All Rights Reserved.