get url
[mir.git] / source / mircoders / servlet / ServletModuleContent.java
index 156502b..27a5806 100755 (executable)
@@ -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");
@@ -462,7 +462,7 @@ public class ServletModuleContent extends ServletModule
     String              tinyIcon;
     String              iconAlt;
 
-/*    opList = HTMLTemplateProcessor.makeSimpleList(theList);
+    opList = HTMLTemplateProcessor.makeSimpleList(theList);
 
       for (int i=0; i < theList.size();i++) {
         currentContent = (EntityContent)theList.elementAt(i);
@@ -488,6 +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);
@@ -530,7 +531,6 @@ public class ServletModuleContent extends ServletModule
           contentHash.put("icon_alt", iconAlt);
         } catch (Exception e){}
       }
-*/
 
 
         deliver(req, res, modelRoot, templateListString);