Changeset 25872


Ignore:
Timestamp:
2012-06-28T14:54:12+12:00 (12 years ago)
Author:
kjdon
Message:

library.xsl now called gslib.xsl

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/src/java/org/greenstone/gsdl3/core/TransformingReceptionist.java

    r25848 r25872  
    584584        try
    585585        {
    586             libraryXsl = getDoc(this.getLibraryXSLFilename());
     586            libraryXsl = getDoc(this.getGSLibXSLFilename());
    587587            String errMsg = ((XMLConverter.ParseErrorHandler) parser.getErrorHandler()).getErrorMessage();
    588588            if (errMsg != null)
    589589            {
    590                 return XMLTransformer.constructErrorXHTMLPage("Error loading xslt file: " + this.getLibraryXSLFilename() + "\n" + errMsg);
     590                return XMLTransformer.constructErrorXHTMLPage("Error loading xslt file: " + this.getGSLibXSLFilename() + "\n" + errMsg);
    591591            }
    592592        }
     
    598598        {
    599599            e.printStackTrace();
    600             System.out.println("error loading library xslt");
    601             return XMLTransformer.constructErrorXHTMLPage("error loading library xslt\n" + e.getMessage());
     600            System.out.println("error loading gslib xslt");
     601            return XMLTransformer.constructErrorXHTMLPage("error loading gslib xslt\n" + e.getMessage());
    602602        }
    603603
     
    973973    }
    974974
    975     // returns the library.xsl path of the library file that is applicable for the current interface
    976     protected String getLibraryXSLFilename()
    977     {
    978         return GSFile.xmlTransformDir(GSFile.interfaceHome(GlobalProperties.getGSDL3Home(), (String) this.config_params.get(GSConstants.INTERFACE_NAME))) + File.separatorChar + "library.xsl";
     975    // returns the path to the gslib.xsl file that is applicable for the current interface
     976    protected String getGSLibXSLFilename()
     977    {
     978        return GSFile.xmlTransformDir(GSFile.interfaceHome(GlobalProperties.getGSDL3Home(), (String) this.config_params.get(GSConstants.INTERFACE_NAME))) + File.separatorChar + "gslib.xsl";
    979979    }
    980980
Note: See TracChangeset for help on using the changeset viewer.