Class ClientHtmlHelper
java.lang.Object
edu.ucsb.nceas.metacat.clientview.ClientHtmlHelper
- Author:
- barteau
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic 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.
-
Constructor Details
-
ClientHtmlHelper
public ClientHtmlHelper()
-
-
Method Details
-
mapToHtmlSelect
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.
-