base/struts-tools/src/main/com/thesett/common/webapp/tags/DebugTag.java
private String toHTMLTable(String propName, Map values)
    {
        StringBuffer tableSB = new StringBuffer();

        tableSB.append("<tr class=\"debug\"><th class=\"debug\">").append(propName).append("</th></tr>");

        for (Iterator it = values.keySet().iterator(); it.hasNext();)
        {
            Object o = it.next();
            String key = (String) o;

            tableSB.append("<tr class=\"debug\"><td class=\"debug\">").append(key).append("</td><td>").append(
                values.get(key)).append("</td></tr>");
        }

        return tableSB.toString();
    }
private String toHTMLTable(String propName, Map values)
    {
        StringBuffer tableSB = new StringBuffer();

        tableSB.append("<tr class=\"debug\"><th class=\"debug\">").append(propName).append("</th></tr>");

        for (Iterator it = values.keySet().iterator(); it.hasNext();)
        {
            Object o = it.next();
            String key = (String) o;

            tableSB.append("<tr class=\"debug\"><td class=\"debug\">").append(key).append("</td><td>").append(
                values.get(key)).append("</td></tr>");
        }

        return tableSB.toString();
    }
Returns an HTML table with all the values of the specified property.

@param  propName The header for the table.
@param  values   The key/value paris to display in the table.

@return The HTML table as a string.