updates for label, new individual form, external vocab search

This commit is contained in:
hudajkhan 2013-10-02 14:56:58 -04:00
parent b5ea3f879d
commit 984e2f6f4c
9 changed files with 61 additions and 16 deletions

View file

@ -67,7 +67,7 @@ import edu.cornell.mannlib.vitro.webapp.web.templatemodels.individual.DataProper
*/
public class ManageLabelsForPersonGenerator extends BaseEditConfigurationGenerator implements EditConfigurationGenerator {
public static Log log = LogFactory.getLog(ManageLabelsForIndividualGenerator.class);
private static String template = "manageLabelsForPerson.ftl";
private static String template = "manageLabelsForIndividual.ftl";
private HashMap<String, List<LabelInformation>> labelsSortedByLanguage = null;
private List<Literal> existingLabelLiterals = null;

View file

@ -54,7 +54,7 @@ public class ConceptSearchServlet extends VitroHttpServlet {
catch (Exception ex) {
SemanticServicesError semanticServicesError = new SemanticServicesError(
"Exception encountered ", ex.getMessage(), "fatal");
log.error("An error occurred retrieving search results");
log.error("An error occurred retrieving search results", ex);
conceptInfo.setSemanticServicesError(semanticServicesError);
}
conceptInfo.setConceptList(results);