Class ClientHtmlHelper

java.lang.Object
edu.ucsb.nceas.metacat.clientview.ClientHtmlHelper

public abstract class ClientHtmlHelper extends Object
Author:
barteau
  • Constructor Details

    • ClientHtmlHelper

      public ClientHtmlHelper()
  • Method Details

    • mapToHtmlSelect

      public static String mapToHtmlSelect(Map map, String name, String style, int size)
      JSP API: A static helper method which takes a map (key, value pairs) and returns an XHTML SELECT String.
      Parameters:
      map - The map contianing the key, value pairs to convert into an HTML SELECT statement.
      name - The name to assign the HTML SELECT, which will become the parameter name.
      style - Any HTML styling text.
      size - HTML field width.
      Returns:
      String, XHTML for a SELECT statement.