writer.endElement("div");
}
protected void encodeOption(FacesContext context, UIInput component, Object values, Object submittedValues, Converter converter, SelectItem option, int idx, String labelClass) throws IOException {
ResponseWriter writer = context.getResponseWriter();
SelectManyButton button = (SelectManyButton) component;
String itemValueAsString = getOptionAsString(context, component, converter, option.getValue());
String name = button.getClientId(context);
String id = name + UINamingContainer.getSeparatorChar(context) + idx;
boolean disabled = option.isDisabled() || button.isDisabled();
Object valuesArray;
Object itemValue;
if(submittedValues != null) {
valuesArray = submittedValues;