public void encodeEnd(FacesContext context, UIComponent component) throws IOException {
if (!component.isRendered()) {
return;
}
ButtonGroup buttonGroup = (ButtonGroup) component;
<BUG>ResponseWriter rw = context.getResponseWriter();
rw.endElement("div");</BUG>
String responsive = Responsive.getResponsiveStyleClass(buttonGroup, false).trim();
if(responsive.length() > 0) {
rw.endElement("div");

public void encodeEnd(FacesContext context, UIComponent component) throws IOException {
if (!component.isRendered()) {
return;
}
ButtonGroup buttonGroup = (ButtonGroup) component;
ResponseWriter rw = context.getResponseWriter();
endDisabledFieldset(buttonGroup, rw);
rw.endElement("div");
String responsive = Responsive.getResponsiveStyleClass(buttonGroup, false).trim();
if(responsive.length() > 0) {
rw.endElement("div");
