X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=source%2Fmircoders%2Fservlet%2FServletModuleContent.java;h=27a58066cd43fc0fccedfcb23e245339ba26cf23;hb=edbc344227c3cbbb027be93b34eb2a51e3a1983c;hp=a55f6cc17df336d6ad7c09479fd80b9a96d0aca1;hpb=a8a546b896e18acc7df41e8cd70002efdbfa2f4b;p=mir.git diff --git a/source/mircoders/servlet/ServletModuleContent.java b/source/mircoders/servlet/ServletModuleContent.java index a55f6cc1..27a58066 100755 --- a/source/mircoders/servlet/ServletModuleContent.java +++ b/source/mircoders/servlet/ServletModuleContent.java @@ -46,7 +46,7 @@ public class ServletModuleContent extends ServletModule private ServletModuleContent() { try { - theLog = Logfile.getInstance(this.getClass().getName()); + theLog = Logfile.getInstance(MirConfig.getProp("Home") + MirConfig.getProp("ServletModule.Content.Logfile")); templateListString = MirConfig.getProp("ServletModule.Content.ListTemplate"); templateOpString = MirConfig.getProp("ServletModule.Content.OpTemplate"); templateObjektString = MirConfig.getProp("ServletModule.Content.ObjektTemplate"); @@ -146,9 +146,9 @@ public class ServletModuleContent extends ServletModule mergeData.put("new", "1"); mergeData.put("is_published", "1"); String now = StringUtil.date2webdbDate(new GregorianCalendar()); - mergeData.put("date", new SimpleScalar(now)); + mergeData.put("date", new SimpleScalar(now)); try { - mergeData.put("themenPopupData", themenModule.getTopicsAsSimpleList()); + mergeData.put("themenPopupData", themenModule.getTopicsAsSimpleList()); } catch (ModuleException e) { theLog.printError("themenPopupData could not be fetched."); } @@ -312,7 +312,7 @@ public class ServletModuleContent extends ServletModule theLog.printError("smod content :: newswire :: could not get entityContent"); } catch(StorageObjectException e) { - theLog.printError("smod content :: newswire :: could not get entityContent"); + theLog.printError("smod content :: dettach :: could not get entityContent"); } list(req, res); @@ -488,7 +488,7 @@ public class ServletModuleContent extends ServletModule * can we make getIdasInt() or can we just have * another getId() that returns an Int and the VM * will handle it transparantly? -mh - */ + */ try { mediaHandlerName = mediaType.getValue("classname"); mediaHandlerClass = Class.forName("mir.media.MediaHandler"+mediaHandlerName);