NIHVIVO-1322 Separated IndividualTemplateModel into two classes, one for profile page and one for listing individuals in the context of search, browse, menupages, etc. The needs of the two cases are quite different.

This commit is contained in:
rjy7 2011-01-13 15:09:27 +00:00
parent bdfca9c730
commit 5ea215f7e1
11 changed files with 140 additions and 52 deletions

View file

@ -61,6 +61,7 @@
String vitroNsProp = (String) vreq.getParameter("vitroNsProp");
boolean isVitroNsProp = false;
// On new Freemarker individual page, the editing link for rdfs:label doesn't get this url param attached
if ( "true".equals(vitroNsProp) || predicateUri.equals(VitroVocabulary.LABEL) ) {
isVitroNsProp = true;
}