no message
authorfh <fh>
Wed, 5 Sep 2001 09:52:54 +0000 (09:52 +0000)
committerfh <fh>
Wed, 5 Sep 2001 09:52:54 +0000 (09:52 +0000)
source/mircoders/servlet/ServletModuleLinksImcs.java
templates-dist/de/linksimcs.template

index 4ff023f..c5803e7 100755 (executable)
@@ -52,13 +52,11 @@ public class ServletModuleLinksImcs extends ServletModule
     try {
       SimpleHash mergeData = new SimpleHash();
       EntityList   theList;
-      mergeData.put("new", "1");
-
-      PrintWriter out = res.getWriter();
       int offset = 0;
-
       theList = mainModule.getByWhereClause("", offset);
-      mergeData.put("contentlist",((ModuleLinksImcs)mainModule).getLinksImcsAsSimpleHash());
+      mergeData.put("contentlist",HTMLTemplateProcessor.makeSimpleHash(theList));
+      mergeData.put("new", "1");
+      PrintWriter out = res.getWriter();
 
       if (theList == null || theList.getCount() == 0 || theList.getCount()>1){
         //HTMLTemplateProcessor.process(getLanguage(req)+"/"+templateObjektString, theList, out);
@@ -75,8 +73,11 @@ public class ServletModuleLinksImcs extends ServletModule
       throw new ServletModuleException(e.toString());
     } catch (IOException e) {
       throw new ServletModuleException(e.toString());
+    } catch(StorageObjectException e) {
+      throw new ServletModuleException(e.toString());
     }
 
+
   }
 }
 
index ccede92..184fa04 100755 (executable)
                <if contentlist>
        <select name="to_parent_id" size="1">
                
-               <option value="0" selected> Neuen Parent anlegen
+               <option value="0" selected> Neuen Oberbegriff anlegen
                <list contentlist as entry>
-               <if entry.to_parent_id==NULL>
+               
+               
+               <if contentlist>
                        <option value="${entry.id}"> ${entry.title}
                </if>
                </list>
@@ -40,7 +42,7 @@
   <tr>
     <td align="right" bgcolor="#006600"><font color="#ffffff"><B>URL:</B></font></td>
     <td>
-      <input type="text" size="20" name="filename" value="${url}">
+      <input type="text" size="40" name="filename" value="${url}">
     </td>
   </tr>
   <tr>