From df4c2ccfb9dce6e6a7815923d9e5cb1c9dda4ee1 Mon Sep 17 00:00:00 2001 From: ass92 Date: Thu, 13 Jan 2011 13:54:33 +0000 Subject: [PATCH] NIHVIVO-1376 change for showing urls on class group index page --- .../controller/freemarker/IndividualListController.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/webapp/src/edu/cornell/mannlib/vitro/webapp/controller/freemarker/IndividualListController.java b/webapp/src/edu/cornell/mannlib/vitro/webapp/controller/freemarker/IndividualListController.java index ab21eb747..d5d692eca 100644 --- a/webapp/src/edu/cornell/mannlib/vitro/webapp/controller/freemarker/IndividualListController.java +++ b/webapp/src/edu/cornell/mannlib/vitro/webapp/controller/freemarker/IndividualListController.java @@ -105,7 +105,9 @@ public class IndividualListController extends FreemarkerHttpServlet { body.put("subtitle", vclass.getName()); } body.put("title", title); - + body.put("redirecturl", vreq.getContextPath()+"/entityurl/"); + getServletContext().setAttribute("inds", inds); + getServletContext().setAttribute("classuri", vclass.getURI()); } } catch (HelpException help){