diff --git a/wise-webapp/src/main/java/com/wisemapping/webmvc/MvcMindmapController.java b/wise-webapp/src/main/java/com/wisemapping/webmvc/MvcMindmapController.java index bfca1266..96cd1dbb 100644 --- a/wise-webapp/src/main/java/com/wisemapping/webmvc/MvcMindmapController.java +++ b/wise-webapp/src/main/java/com/wisemapping/webmvc/MvcMindmapController.java @@ -56,7 +56,7 @@ public class MvcMindmapController { private MindmapService mindmapService; @RequestMapping(value = "maps/{id}/print") - public String showPrintPage(@PathVariable int id, @NotNull Model model) throws MapCouldNotFoundException, AccessDeniedSecurityException { + public String showPrintPage(@PathVariable int id, @NotNull Model model) throws WiseMappingException { final MindMapBean mindmap = findMindmapBean(id); model.addAttribute("principal", Utils.getUser()); @@ -64,6 +64,7 @@ public class MvcMindmapController { model.addAttribute("creatorFullName", mindmap.getCreator().getFullName()); final Locale locale = LocaleContextHolder.getLocale(); model.addAttribute("locale", locale.toString().toLowerCase()); + model.addAttribute("properties", mindmap.getProperties()); return "mindmapViewonly"; } diff --git a/wise-webapp/src/main/webapp/WEB-INF/views/mindmapViewonly.jsp b/wise-webapp/src/main/webapp/WEB-INF/views/mindmapViewonly.jsp index 78210adf..c305a030 100644 --- a/wise-webapp/src/main/webapp/WEB-INF/views/mindmapViewonly.jsp +++ b/wise-webapp/src/main/webapp/WEB-INF/views/mindmapViewonly.jsp @@ -24,7 +24,7 @@