<#list sources?keys as sourceUri>
+ <#assign thisSource = sources[sourceUri]/>
<#assign checkedSource = true/>checked="checked"#if>>
-
+
#list>
diff --git a/src/edu/cornell/mannlib/vitro/webapp/utils/ConceptSearchService/ConceptSearchServiceUtils.java b/src/edu/cornell/mannlib/vitro/webapp/utils/ConceptSearchService/ConceptSearchServiceUtils.java
index c589626d..899c6b2a 100644
--- a/src/edu/cornell/mannlib/vitro/webapp/utils/ConceptSearchService/ConceptSearchServiceUtils.java
+++ b/src/edu/cornell/mannlib/vitro/webapp/utils/ConceptSearchService/ConceptSearchServiceUtils.java
@@ -35,15 +35,15 @@ public class ConceptSearchServiceUtils {
//Get the URLS for the different services
//URL to label
- public static HashMap getVocabSources() {
- HashMap map = new HashMap();
- map.put(UMLSVocabSource, "UMLS");
- map.put(AgrovocVocabSource, "AGROVOC");
- map.put(GemetVocabSource, "GEMET");
-
+ public static HashMap getVocabSources() {
+ HashMap map = new HashMap();
+ map.put(UMLSVocabSource, new VocabSourceDescription("UMLS", UMLSVocabSource, "http://www.nlm.nih.gov/research/umls/", "Unified Medical Language System"));
+ map.put(AgrovocVocabSource, new VocabSourceDescription("AGROVOC", AgrovocVocabSource, "www.fao.org/agrovoc/", "Agricultural Vocabulary"));
+ map.put(GemetVocabSource, new VocabSourceDescription("GEMET", GemetVocabSource, "http://www.eionet.europa.eu/gemet", "GEneral Multilingual Environmental Thesaurus"));
return map;
}
+ //Get additional vocab source info
//Get the hashmap mapping service name to Service class
@@ -93,4 +93,7 @@ public class ConceptSearchServiceUtils {
private static String getSearchTerm(VitroRequest vreq) {
return vreq.getParameter("searchTerm");
}
-}
\ No newline at end of file
+
+
+}
+