Changeset 23839 for main/trunk/greenstone3/src/java/org
- Timestamp:
- 2011-03-30T16:11:40+13:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone3/src/java/org/greenstone/gsdl3/core/TransformingReceptionist.java
r23837 r23839 287 287 boolean allowsClientXSLT = (Boolean)config_params.get(GSConstants.ALLOW_CLIENT_SIDE_XSLT); 288 288 //System.out.println("Client side transforms allowed? " + allowsClientXSLT); 289 290 String currentInterface = (String)config_params.get(GSConstants.INTERFACE_NAME);291 289 292 290 // Force it back to traditional 293 if(!allowsClientXSLT && currentInterface.equals("default"))291 if(!allowsClientXSLT) 294 292 config_params.put(GSConstants.INTERFACE_NAME, "traditional"); 295 293 … … 297 295 String output = request.getAttribute(GSXML.OUTPUT_ATT); 298 296 297 String currentInterface = (String)config_params.get(GSConstants.INTERFACE_NAME); 299 298 //System.out.println("Current output mode is: " + output + ", current interface name is: " + currentInterface); 300 299 … … 414 413 if (collection == null) collection = ""; 415 414 } 416 415 417 416 String xslt_file = getXSLTFileName(action, subaction, collection); 418 417 if (xslt_file==null) { … … 420 419 return fileNotFoundErrorPage(xslt_file); 421 420 } 422 421 423 422 Document style_doc = this.converter.getDOM(new File(xslt_file), "UTF-8"); 424 423 String errorPage = this.converter.getParseErrorMessage();
Note:
See TracChangeset
for help on using the changeset viewer.