Package org.dbwiki.web.server

Examples of org.dbwiki.web.server.DatabaseWiki


        if (server.get(iWiki).name().equalsIgnoreCase(wikiName)) {
          wiki = server.get(iWiki);
          break;
        }
      }*/
      DatabaseWiki wiki = server.get(wikiName);
     
      // [wiki] should never be null
      assert(wiki != null);
     
      Database database = wiki.database();
           
      Connection con = connector.getConnection();
      con.setAutoCommit(false);

      ImportPresentationFiles p = new ImportPresentationFiles(server, wiki, database, username);
View Full Code Here


    body.add("\t\t\t<div class=\"" + CSS.CSSMenuSub + "\" id=\"" + name + "_submenu\" onMouseOver=\"ShowItem('" + name + "_submenu');\" onMouseOut=\"HideItem('" + name + "_submenu');\">");
    body.add("\t\t\t\t<div class=\"" + CSS.CSSMenuSubBox + "\">");
    body.add("\t\t\t\t\t<ul>");
   
    for (int iWiki = 0; iWiki < _server.size(); iWiki++) {
      DatabaseWiki wiki = _server.get(iWiki);
      body.add("\t\t\t\t\t\t<li><a href=\"?" + name + "=" + wiki.id() + "\">" + wiki.getTitle() + "</a></li>");
    }
   
    body.add("\t\t\t\t\t</ul>");
    body.add("\t\t\t\t</div>");
    body.add("\t\t\t</div>");
View Full Code Here

  public void print(HtmlLinePrinter printer) throws WikiException {
    printer.openLIST(CSS.CSSDatabase);
   
    for (int iWiki = 0; iWiki < _server.size(); iWiki++) {
      DatabaseWiki wiki = _server.get(iWiki);
      printer.listITEM(wiki.database().identifier().databaseHomepage(), wiki.getTitle(), CSS.CSSDatabase);
    }
   
   
   
    printer.closeLIST();
View Full Code Here

TOP

Related Classes of org.dbwiki.web.server.DatabaseWiki

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.