Revize 6b630778
Přidáno uživatelem Vojtěch Danišík před asi 4 roky(ů)
src/main/java/vldc/aswi/web/controller/AssemblyController.java | ||
---|---|---|
101 | 101 |
* @return ModelAndView for assembly. |
102 | 102 |
*/ |
103 | 103 |
@GetMapping("/assembly") |
104 |
public ModelAndView assemblyGet(@Valid @ModelAttribute("assemblyID") String id) {
|
|
104 |
public ModelAndView assemblyGet(@RequestParam("assemblyID") String id) {
|
|
105 | 105 |
ModelAndView modelAndView = new ModelAndView("assembly"); |
106 | 106 |
|
107 | 107 |
ModelMap modelMap = modelAndView.getModelMap(); |
... | ... | |
198 | 198 |
* @return ModelAndView for assembly edit. |
199 | 199 |
*/ |
200 | 200 |
@GetMapping("/assembly_edit") |
201 |
public ModelAndView assemblyEditGet(@Valid @ModelAttribute("assemblyID") String id) {
|
|
201 |
public ModelAndView assemblyEditGet(@RequestParam("assemblyID") String id) {
|
|
202 | 202 |
long startTime = System.currentTimeMillis(); |
203 | 203 |
ModelAndView modelAndView = new ModelAndView("assembly_manage"); |
204 | 204 |
|
src/main/java/vldc/aswi/web/controller/ConfigurationController.java | ||
---|---|---|
41 | 41 |
* @return modelAndView of page to be shown |
42 | 42 |
*/ |
43 | 43 |
@GetMapping("/configuration") |
44 |
public ModelAndView configurationGet(@Valid @ModelAttribute("configurationID") String id) {
|
|
44 |
public ModelAndView configurationGet(@RequestParam("configurationID") String id) {
|
|
45 | 45 |
ModelAndView modelAndView = new ModelAndView("assembly"); |
46 | 46 |
|
47 | 47 |
ModelMap modelMap = modelAndView.getModelMap(); |
Také k dispozici: Unified diff
ID for assembly and configuration in /assembly, /configuration, /assembly_edit is now as RequestedParam instead of ModelAttribute.