Github user mikewalch commented on a diff in the pull request:

    https://github.com/apache/accumulo/pull/175#discussion_r85777514
  
    --- Diff: 
server/monitor/src/main/java/org/apache/accumulo/monitor/util/Table.java ---
    @@ -143,7 +146,24 @@ public synchronized void generate(HttpServletRequest 
req, StringBuilder sb) {
           showLegend = showStr != null && Boolean.parseBoolean(showStr);
         }
     
    -    sb.append("<div>\n");
    +    String redir = BasicServlet.currentPage(req);
    +
    +    if (namespaces != null) {
    +      sb.append("<div id=\"filters\">\n");
    +      String namespace = BasicServlet.getCookieValue(req, 
"namespaceDropdown." + BasicServlet.encode(page) + "." + 
BasicServlet.encode(tableName) + "."
    +          + "selected");
    +      if (namespace == null) {
    +        namespace = "*";
    +      }
    +      sb.append("<div class='left show'><dl>\n");
    +      doDropdownMenu(redir, page, tableName, sb, namespaces, namespace);
    --- End diff --
    
    Could add header to menu like "Table namespaces" or "Namespaces"


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to