- Timestamp:
- 2018-10-30T10:30:53+13:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone3/src/java/org/greenstone/gsdl3/core/Receptionist.java
r32366 r32549 133 133 setUpInterfaceOptions(config_elem); 134 134 135 this.language_list = (Element) GSXML.getChildByTagName(config_elem, "languageList"); 136 if (this.language_list == null) 137 { 138 logger.error(" didn't find a language list in the config file!!"); 139 } 140 135 141 // load up the actions 136 142 Element action_list = (Element) GSXML.getChildByTagName(config_elem, GSXML.ACTION_ELEM + GSXML.LIST_MODIFIER); … … 157 163 ac.configure(); 158 164 ac.addActionParameters(this.params); 165 ac.setLanguageList(this.language_list); 159 166 this.action_map.put(action_name, ac); 160 167 } 161 168 162 this.language_list = (Element) GSXML.getChildByTagName(config_elem, "languageList");163 if (language_list == null)164 {165 logger.error(" didn't find a language list in the config file!!");166 }167 169 168 170 return true; … … 230 232 ac.configure(); 231 233 ac.addActionParameters(this.params); 234 ac.setLanguageList(this.language_list); 232 235 this.action_map.put(action, ac); 233 236 a = ac; … … 317 320 Element p = (Element)params.item(j); 318 321 if (!p.getAttribute(GSXML.SENSITIVE_ATT).equals("")) { 319 logger. error("removing param "+p.getAttribute("name"));322 logger.debug("removing param "+p.getAttribute("name")); 320 323 param_list.removeChild(p); 321 324 }
Note:
See TracChangeset
for help on using the changeset viewer.