Ejemplo n.º 1
0
 @Override
 public UIElement render(Model model, ClientInfo client) {
   DatabasesPage page = (DatabasesPage) model;
   DBServer server = page.server;
   String title = "Available Databases on " + server.toString();
   String guts = tableOfDatabases(page);
   String nav[] =
       new String[] {
         Replace.bracketQuote("Available Databases on <a href=[/]>server</a> ") + server,
         buttons.SEARCH
       };
   return HtmlPage.gutsTitleNavHelp(guts, title, nav, HELP);
 }
Ejemplo n.º 2
0
 @Override
 public String toString() {
   return Replace.bracketQuote("<input type=[text] name=[" + name + "] value=[" + value + "] />");
 }