rw.writeAttribute("dir", dir, "dir");
Tooltip.generateTooltip(context, container, rw);
if (style != null) {
rw.writeAttribute("style", style, "style");
}
<BUG>rw.writeAttribute("class", c, "class");
}</BUG>
@Override
public void encodeEnd(FacesContext context, UIComponent component) throws IOException {
if (!component.isRendered()) {

rw.writeAttribute("dir", dir, "dir");
Tooltip.generateTooltip(context, container, rw);
if (style != null) {
rw.writeAttribute("style", style, "style");
}
rw.writeAttribute("class", c, "class");
beginDisabledFieldset(container, rw);
}
@Override
public void encodeEnd(FacesContext context, UIComponent component) throws IOException {
if (!component.isRendered()) {
