<% StringTokenizer tk; String paragraph=""; SxResultRow maskRow; try { SxResultSet masksRs = ServletUtils.execute("Wiki Seite ", queryWiki,mandantenid); if (masksRs.size() == 1) { maskRow = (SxResultRow) masksRs.first(); wikiHeader=maskRow.get(0).toString(); wikiBody=maskRow.get(1).toString(); } } catch(Exception e) { System.out.println("DBConnection is not ready yet: "+ e.toString()); } if(!wikiBody.equals("")) { WikiModel wikiModel = new WikiModel("/superx/images/${image}", "/superx/${title}"); try { wikiModel.setUp(); info_text_html = wikiModel.render(wikiBody); } catch (Exception e1) { tk = new StringTokenizer(wikiBody, "\n", false); while (tk.hasMoreElements()) { paragraph=tk.nextElement().toString(); info_text_html += "

"+paragraph+"

"; } } finally { wikiModel.tearDown(); } } %>