X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=source%2Fmir%2Fmisc%2FHTMLTemplateProcessor.java;h=8a797057951f1a7bc371e9b95873411e99962f4f;hb=cc839c9fcd0e85f65074b5b259e8d5d1ed1b13dd;hp=d9ed5bb22d45975cb0d33b95ec55c753e1bb233c;hpb=128878972311f4f4739f8399491c0fb6de2a929b;p=mir.git diff --git a/source/mir/misc/HTMLTemplateProcessor.java b/source/mir/misc/HTMLTemplateProcessor.java index d9ed5bb2..8a797057 100755 --- a/source/mir/misc/HTMLTemplateProcessor.java +++ b/source/mir/misc/HTMLTemplateProcessor.java @@ -42,11 +42,19 @@ public final class HTMLTemplateProcessor { templateDir = MirConfig.getPropWithHome("HTMLTemplateProcessor.Dir"); templateCache = new FileTemplateCache(templateDir); templateCache.setLoadingPolicy(templateCache.LOAD_ON_DEMAND); - templateCache.startAutoUpdate(); + // gone in freemarker 1.7.1 + // templateCache.startAutoUpdate(); theLog = Logfile.getInstance(MirConfig.getPropWithHome("HTMLTemplateProcessor.Logfile")); docRoot = MirConfig.getProp("RootUri"); - //small quickhack, idfx - //actionRoot = docRoot + "/servlet/" + MirConfig.getProp("ServletName"); + //the quick hack is back in effect as it was more broken than ever before + // -mh + // sorry: nadir back in town, i have to debug the mirbase.jar in the + // nadir evironment. from my point of coding, this needs an urgent + // fixxx. + // yeah, from my point too - tob. + //actionRoot = docRoot + "/servlet/" + MirConfig.getProp("ServletName"); + //actionRoot = docRoot + "/servlet/NadirAktuell"; + actionRoot = docRoot + "/servlet/Mir"; openAction = MirConfig.getProp("Producer.OpenAction"); @@ -56,7 +64,6 @@ public final class HTMLTemplateProcessor { imageHost = MirConfig.getProp("Producer.Image.Host"); producerDocRoot = MirConfig.getProp("Producer.DocRoot"); producerStorageRoot = MirConfig.getProp("Producer.StorageRoot"); - } /** @@ -225,7 +232,7 @@ public final class HTMLTemplateProcessor { SimpleList simpleList = new SimpleList(); if (aList != null) { for(int i=0;i