Adding coInvestigation.ftl and modified CoPIGrantCountRequestHandler
This commit is contained in:
parent
33ce4a7296
commit
12ddea8241
2 changed files with 244 additions and 3 deletions
|
@ -97,17 +97,17 @@ public class CoPIGrantCountRequestHandler implements VisualizationRequestHandler
|
|||
|
||||
if (pINodesAndEdges.getNodes() != null
|
||||
&& pINodesAndEdges.getNodes().size() > 0) {
|
||||
body.put("numOfAuthors", pINodesAndEdges.getNodes().size());
|
||||
body.put("numOfInvestigators", pINodesAndEdges.getNodes().size());
|
||||
|
||||
title = pINodesAndEdges.getEgoNode().getNodeName() + " - ";
|
||||
}
|
||||
|
||||
if (pINodesAndEdges.getEdges() != null
|
||||
&& pINodesAndEdges.getEdges().size() > 0) {
|
||||
body.put("numOfCoPIs", pINodesAndEdges.getEdges().size());
|
||||
body.put("numOfCoInvestigations", pINodesAndEdges.getEdges().size());
|
||||
}
|
||||
|
||||
String standaloneTemplate = "/visualization/coauthorship/coAuthorship.ftl";
|
||||
String standaloneTemplate = "/visualization/copi/coInvestigation.ftl";
|
||||
|
||||
body.put("portalBean", portal);
|
||||
body.put("egoURIParam", egoURI);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue