Updates to default list view: remove moniker, and handle label vs. local name from sparql query rather than a data postprocessor
This commit is contained in:
parent
87dc7698e1
commit
0f3491f42d
4 changed files with 9 additions and 17 deletions
|
@ -89,8 +89,8 @@ public class DataPropertyTemplateModel extends PropertyTemplateModel {
|
|||
ParamMap params = new ParamMap(
|
||||
"subjectUri", subjectUri,
|
||||
"predicateUri", propertyUri);
|
||||
//Check if special parameters being sent
|
||||
|
||||
//Check if special parameters being sent
|
||||
HashMap<String, String> specialParams = UrlBuilder.getSpecialParams(vitroRequest);
|
||||
if(specialParams.size() > 0) {
|
||||
params.putAll(specialParams);
|
||||
|
|
|
@ -16,7 +16,6 @@ public class DefaultListViewDataPostProcessor extends
|
|||
private static final Log log = LogFactory.getLog(DefaultListViewDataPostProcessor.class);
|
||||
|
||||
private static final String KEY_NAME = "name";
|
||||
// private static final String KEY_MONIKER = "moniker";
|
||||
private static final String KEY_OBJECT = "object";
|
||||
|
||||
public DefaultListViewDataPostProcessor(ObjectPropertyTemplateModel optm, WebappDaoFactory wdf) {
|
||||
|
@ -27,7 +26,6 @@ public class DefaultListViewDataPostProcessor extends
|
|||
/* Apply processing specific to this postprocessor */
|
||||
protected void process(Map<String, String> map) {
|
||||
addName(map, KEY_NAME, KEY_OBJECT);
|
||||
// addMoniker(map, KEY_MONIKER, KEY_OBJECT);
|
||||
}
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue