/** * Prepares the text event handlers, appending them to the the given * StringBuffer. * @param handlers The StringBuffer that output will be appended to. */ protected void prepareTextEvents(StringBuffer handlers) { prepareAttribute(handlers, "onselect", getOnselect()); prepareAttribute(handlers, "onchange", getOnchange()); }