1. Added VOs to be consumed by the templates.
This commit is contained in:
parent
d08cdd3498
commit
d0aa00d216
1 changed files with 6 additions and 3 deletions
|
@ -211,6 +211,7 @@ public class PersonLevelRequestHandler implements VisualizationRequestHandler {
|
|||
Map<String, Object> body = new HashMap<String, Object>();
|
||||
|
||||
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");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue