@Controller @RequestMapping(value="/admin/editForeignSource.htm") public class EditForeignSourceController extends Object
Modifier and Type | Class and Description |
---|---|
static class |
EditForeignSourceController.TreeCommand |
Modifier and Type | Field and Description |
---|---|
static String |
COMMAND_NAME |
Constructor and Description |
---|
EditForeignSourceController() |
Modifier and Type | Method and Description |
---|---|
EditForeignSourceController.TreeCommand |
formBackingObject(String foreignSourceName)
Attach the current foreignSource to the model during each request.
|
void |
initBinder(org.springframework.web.bind.ServletRequestDataBinder binder) |
org.springframework.web.servlet.ModelAndView |
onSubmit(EditForeignSourceController.TreeCommand treeCmd,
org.springframework.validation.BindingResult errors) |
public static final String COMMAND_NAME
@InitBinder public void initBinder(org.springframework.web.bind.ServletRequestDataBinder binder)
@RequestMapping(method=POST) public org.springframework.web.servlet.ModelAndView onSubmit(@ModelAttribute(value="foreignSourceEditForm") EditForeignSourceController.TreeCommand treeCmd, org.springframework.validation.BindingResult errors)
@ModelAttribute(value="foreignSourceEditForm") public EditForeignSourceController.TreeCommand formBackingObject(@RequestParam String foreignSourceName)
foreignSourceName
- Copyright © 2017. All rights reserved.