scrollDivStyle.setHeight(style.getHeight() // todo: what, when there is no scrollbar?
.subtract(15)); // todo: scrollbar height
scrollDivStyle.setPosition(Position.ABSOLUTE);
writer.writeStyleAttribute(scrollDivStyle);
ResponseWriterDivider divider = ResponseWriterDivider.getInstance(facesContext, DIVIDER);
// write in all open branches the end tag.
while (divider.activateBranch(facesContext)) {
writer = HtmlRendererUtils.getTobagoResponseWriter(facesContext);
writer.endElement(HtmlElements.DIV);
}
while (divider.passivateBranch(facesContext)) {
}
divider.writeOutAndCleanUp(facesContext);
writer = HtmlRendererUtils.getTobagoResponseWriter(facesContext);
writer.endElement(HtmlElements.DIV);