Exemplo n.º 1
0
 public static String optionAttribs(Long optionValue, String[] requestValue) {
   return HTML.optionAttribs(optionValue.toString(), requestValue);
 }
Exemplo n.º 2
0
 /**
  * Creates attributes for use in an HTML <option> tag.
  *
  * @param optionValue value attribute of <option>
  * @param requestValue current value of <select> box, usually from HTTP request.
  * @return value and selected attribute declarations, where appropriate
  */
 public static String optionAttribs(String optionValue, String requestValue) {
   return HTML.optionAttribs(optionValue, new String[] {requestValue});
 }