changes relating to issues raised by Scripps: author ordering and label editing

This commit is contained in:
tworrall 2013-04-22 14:46:48 -04:00
parent dc3d3873c8
commit e7a04ae09b
2 changed files with 3 additions and 3 deletions

View file

@ -44,8 +44,8 @@ public class DataPropertyComparator implements Comparator<Individual> {
}
if (datatype == null) {
log.warn("Can't compare data property statements: no datatype specified.");
// Perhaps we should throw an error here, but for now we need it to return 0
return 0;
// Perhaps we should throw an error here, but for now we need it to set the datatype
datatype = XSD.xint.toString();
}
if (XSD.xint.toString().equals(datatype)) {

View file

@ -11,7 +11,7 @@
<#assign literalValues = "${editConfiguration.dataLiteralValuesAsString}" />
<form class="editForm" action = "${submitUrl}" method="post">
<input type="text" name="${editConfiguration.varNameForObject}" id="label" size="70" value="${literalValues}"} role="input"/>
<input type="text" name="${editConfiguration.varNameForObject}" id="label" size="70" value="${literalValues?html}" role="input"/>
<input type="hidden" name="editKey" id="editKey" value="${editKey}" role="input"/>
<input type="hidden" name="vitroNsProp" value="true" role="input"/>