From 06cfccb4751f270d28ab6dd1bc500de5fd2fe950 Mon Sep 17 00:00:00 2001 From: rjy7 Date: Mon, 3 Jan 2011 20:41:30 +0000 Subject: [PATCH] NIHVIVO-1491 Methods to get a single property, with or without removing from the list --- .../web/templatemodels/individual/GroupedPropertyList.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/webapp/src/edu/cornell/mannlib/vitro/webapp/web/templatemodels/individual/GroupedPropertyList.java b/webapp/src/edu/cornell/mannlib/vitro/webapp/web/templatemodels/individual/GroupedPropertyList.java index 178f1ac33..183c9fe8a 100644 --- a/webapp/src/edu/cornell/mannlib/vitro/webapp/web/templatemodels/individual/GroupedPropertyList.java +++ b/webapp/src/edu/cornell/mannlib/vitro/webapp/web/templatemodels/individual/GroupedPropertyList.java @@ -27,6 +27,11 @@ import edu.cornell.mannlib.vitro.webapp.dao.WebappDaoFactory; import edu.cornell.mannlib.vitro.webapp.filters.VitroRequestPrep; import edu.cornell.mannlib.vitro.webapp.web.templatemodels.BaseTemplateModel; +/* +public class GroupedPropertyList extends ArrayList { +If this class extends a List type, Freemarker does not let the templates call methods +on it. +*/ public class GroupedPropertyList extends BaseTemplateModel { private static final long serialVersionUID = 1L;