@Controller @RequestMapping(value="/group.edit.page") public class GroupFormController extends Object implements org.springframework.beans.factory.InitializingBean
Constructor and Description |
---|
GroupFormController() |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
void |
initBinder(org.springframework.web.bind.WebDataBinder binder)
initBinder
|
protected String |
processSubmit(GroupDTO group,
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="group") GroupDTO group, org.springframework.validation.BindingResult result, org.springframework.web.bind.support.SessionStatus status)
processSubmit
@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="gid") Integer id, org.springframework.ui.ModelMap model)
setupForm
Copyright © 2015. All Rights Reserved.