public void encodeBegin(FacesContext facesContext, UIComponent component) throws IOException {
TobagoResponseWriter writer = HtmlRendererUtil.getTobagoResponseWriter(facesContext);
HtmlStyleMap style = (HtmlStyleMap) component.getAttributes().get(ATTR_STYLE);
if (style != null) {
Integer styleHeight = style.getInt("height");
if (styleHeight != null) {
style.put("height", styleHeight-1);
}
}
String clientId = component.getClientId(facesContext);
writer.startElement(HtmlConstants.DIV, component);