NIHVIVO-1341 Added notes to list view config files on required and optional elements and how to structure the query. Removed edit-object since this can be derived from the ?subject ?property ?object statement in the query where clause.
This commit is contained in:
parent
555fd93962
commit
1c0aa39da5
5 changed files with 29 additions and 11 deletions
|
@ -91,13 +91,11 @@ public abstract class ObjectPropertyTemplateModel extends PropertyTemplateModel
|
|||
private static final String NODE_NAME_TEMPLATE = "template";
|
||||
private static final String NODE_NAME_COLLATION_TARGET = "collation-target";
|
||||
private static final String NODE_NAME_POSTPROCESSOR = "postprocessor";
|
||||
private static final String NODE_NAME_EDIT_OBJECT = "edit-object";
|
||||
|
||||
private String queryString;
|
||||
private String templateName;
|
||||
private String collationTarget;
|
||||
private String postprocessor;
|
||||
private String editObject;
|
||||
|
||||
PropertyListConfig(ObjectProperty op, VitroRequest vreq) throws Exception {
|
||||
|
||||
|
@ -170,7 +168,6 @@ public abstract class ObjectPropertyTemplateModel extends PropertyTemplateModel
|
|||
// Required values
|
||||
queryString = getConfigValue(doc, NODE_NAME_QUERY);
|
||||
templateName = getConfigValue(doc, NODE_NAME_TEMPLATE);
|
||||
editObject = getConfigValue(doc, NODE_NAME_EDIT_OBJECT);
|
||||
|
||||
// Optional values
|
||||
collationTarget = getConfigValue(doc, NODE_NAME_COLLATION_TARGET);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue