fixing print

This commit is contained in:
Pablo Luna 2011-04-06 18:01:53 +01:00
parent bb156c4b55
commit d2b8c3fd7c

View File

@ -135,8 +135,12 @@ public class ExportController extends BaseMultiActionController {
int mindmapId = Integer.parseInt(mapIdStr);
final MindmapService service = getMindmapService();
final MindMap mindMap = service.getMindmapById(mindmapId);
final String mapSvg = request.getParameter(MAP_SVG_PARAMETER);
return new ModelAndView("mindmapPrint", "mindmap", mindMap);
ModelAndView view = new ModelAndView("mindmapPrint", "mindmap", mindMap);
view.addObject(MAP_SVG_PARAMETER, mapSvg);
return view;
}