NIHVIVO-1341 Change names of custom list view config files, xml elements, templates.
This commit is contained in:
parent
26d8ffd1cd
commit
0d0468b86d
6 changed files with 7 additions and 12 deletions
|
@ -75,7 +75,7 @@ public class ObjectPropertyDaoJena extends PropertyDaoJena implements ObjectProp
|
|||
static protected String listViewConfigFileQueryString =
|
||||
"PREFIX display: <http://vitro.mannlib.cornell.edu/ontologies/display/1.1#>" +
|
||||
"SELECT ?property ?filename WHERE { \n" +
|
||||
" ?property display:listViewConfigurationFile ?filename . \n" +
|
||||
" ?property display:listViewConfigFile ?filename . \n" +
|
||||
"} LIMIT 1";
|
||||
|
||||
static protected Query listViewConfigFileQuery;
|
||||
|
|
|
@ -278,7 +278,5 @@ public class ObjectPropertyStatementDaoJena extends JenaBaseDao implements Objec
|
|||
}
|
||||
return list;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
|
|
@ -80,7 +80,7 @@ public abstract class ObjectPropertyTemplateModel extends PropertyTemplateModel
|
|||
|
||||
private class PropertyListConfig {
|
||||
|
||||
private static final String DEFAULT_CONFIG_FILE = "objectPropertyList-default.xml";
|
||||
private static final String DEFAULT_CONFIG_FILE = "listViewConfig-default.xml";
|
||||
private static final String CONFIG_FILE_PATH = "/config/";
|
||||
private static final String NODE_NAME_QUERY = "query";
|
||||
private static final String NODE_NAME_TEMPLATE = "template";
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||
<!-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
|
||||
<view-config>
|
||||
<list-view-config>
|
||||
<query>
|
||||
PREFIX vitro: <http://vitro.mannlib.cornell.edu/ns/vitro/0.7#>
|
||||
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
||||
|
@ -14,9 +14,7 @@
|
|||
|
||||
<collation-target>object</collation-target>
|
||||
|
||||
<link-target>object</link-target>
|
||||
|
||||
<preprocessor>edu.cornell.mannlib.vitro.webapp.web.templatemodels.individual.DefaultObjectPropertyDataPreprocessor</preprocessor>
|
||||
|
||||
<template>shortView-default.ftl</template>
|
||||
</view-config>
|
||||
<template>propStatement-default.ftl</template>
|
||||
</list-view-config>
|
|
@ -12,7 +12,6 @@
|
|||
<#include "individual-adminPanel.ftl">
|
||||
</#if>
|
||||
|
||||
<#-- Manolo, please do not remove this line. Thanks! -->
|
||||
<#assign propertyGroups = individual.propertyList>
|
||||
|
||||
<section id="individual-intro-person" class="vcard" role="region">
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<#-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
|
||||
|
||||
<#-- Default object property statement short view template -->
|
||||
<#-- Default object property statement template -->
|
||||
|
||||
<a href="${url(statement.object)}">${statement.name!}</a> ${statement.moniker!}
|
Loading…
Add table
Reference in a new issue