public static String optionAttribs(Long optionValue, String[] requestValue) { return HTML.optionAttribs(optionValue.toString(), requestValue); }
/** * 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}); }