Revize 2aa583fe
Přidáno uživatelem Jan Čarnogurský před asi 4 roky(ů)
- ID 2aa583feb8f7aad73281b4269dd0e23ee075eaeb
- Rodič 50ee5dd5
src/main/java/vldc/aswi/web/controller/AssemblyController.java | ||
---|---|---|
275 | 275 |
|
276 | 276 |
modelMap.addAttribute(assemblyErrorName, getFullErrorMessage(result)); |
277 | 277 |
modelMap.addAttribute(assemblyTitleName, assemblyEditTitleText + " " + assembly.getName()); |
278 |
|
|
279 |
modelMap.addAttribute("allRoles", this.roleManager.getRoles()); |
|
280 |
modelMap.addAttribute("allParameterTypes", this.parameterTypeManager.getParameterTypes()); |
|
281 |
modelMap.addAttribute("allFunctions", this.functionManager.getFunctions()); |
|
282 |
modelMap.addAttribute("allOperators", this.operatorManager.getOperators()); |
|
283 |
modelMap.addAttribute("allLocations", this.locationManager.getLocations()); |
|
284 |
|
|
285 |
return modelAndView; |
|
278 | 286 |
} |
279 | 287 |
else { |
280 | 288 |
if (assemblyIsPublic.equals("on")) assembly.setIsPublic(1); |
... | ... | |
294 | 302 |
|
295 | 303 |
redirectAttributes.addAttribute("assemblyID", assembly.getId()); |
296 | 304 |
return new ModelAndView("redirect:/assembly_edit"); |
297 |
/* |
|
298 |
modelMap.addAttribute("allRoles", this.roleManager.getRoles()); |
|
299 |
modelMap.addAttribute("allParameterTypes", this.parameterTypeManager.getParameterTypes()); |
|
300 |
modelMap.addAttribute("allFunctions", this.functionManager.getFunctions()); |
|
301 |
modelMap.addAttribute("allOperators", this.operatorManager.getOperators()); |
|
302 |
modelMap.addAttribute("allLocations", this.locationManager.getLocations()); |
|
303 |
|
|
304 |
|
|
305 |
return modelAndView;*/ |
|
306 | 305 |
} |
307 | 306 |
|
308 | 307 |
/** |
Také k dispozici: Unified diff
re #8114 added values if page contains error