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);
throw new ServletModuleException(e.toString());
} catch (IOException e) {
throw new ServletModuleException(e.toString());
+ } catch(StorageObjectException e) {
+ throw new ServletModuleException(e.toString());
}
+
}
}
<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>
<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>