From d0aa00d2165665848674ff40b317ce20ceaa7ace Mon Sep 17 00:00:00 2001 From: cdtank Date: Wed, 22 Dec 2010 21:18:19 +0000 Subject: [PATCH] 1. Added VOs to be consumed by the templates. --- .../personlevel/PersonLevelRequestHandler.java | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/edu/cornell/mannlib/vitro/webapp/visualization/freemarker/personlevel/PersonLevelRequestHandler.java b/src/edu/cornell/mannlib/vitro/webapp/visualization/freemarker/personlevel/PersonLevelRequestHandler.java index fb3cadd1..5a610548 100644 --- a/src/edu/cornell/mannlib/vitro/webapp/visualization/freemarker/personlevel/PersonLevelRequestHandler.java +++ b/src/edu/cornell/mannlib/vitro/webapp/visualization/freemarker/personlevel/PersonLevelRequestHandler.java @@ -211,6 +211,7 @@ public class PersonLevelRequestHandler implements VisualizationRequestHandler { Map body = new HashMap(); Portal portal = vitroRequest.getPortal(); + String standaloneTemplate = "coAuthorPersonLevel.ftl"; body.put("egoURIParam", egoURI); @@ -225,8 +226,8 @@ public class PersonLevelRequestHandler implements VisualizationRequestHandler { body.put("numOfCoAuthorShips", coAuthorshipVO.getEdges().size()); } - String standaloneTemplate = "coAuthorPersonLevel.ftl"; - + body.put("egoPubSparklineVO", egoPubSparklineVO); + body.put("uniqueCoauthorsSparklineVO", uniqueCoauthorsSparklineVO); body.put("portalBean", portal); body.put("title", title + "Person Level Visualization"); @@ -260,7 +261,9 @@ public class PersonLevelRequestHandler implements VisualizationRequestHandler { } String standaloneTemplate = "coPIPersonLevel.ftl"; - + + body.put("egoGrantSparklineVO", egoGrantSparklineVO); + body.put("uniqueCopisSparklineVO", uniqueCopisSparklineVO); body.put("portalBean", portal); body.put("title", title + "Person Level Visualization");