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");
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);
* 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);
contentHash.put("icon_alt", iconAlt);
} catch (Exception e){}
}
-*/
deliver(req, res, modelRoot, templateListString);