final Measure borderRight = panel.getBorderRight();
final Measure borderTop = panel.getBorderTop();
final Measure borderBottom = panel.getBorderBottom();
if (borderLeft.greaterThan(Measure.ZERO) || borderRight.greaterThan(Measure.ZERO)
|| borderTop.greaterThan(Measure.ZERO) || borderBottom.greaterThan(Measure.ZERO)) {
writer.startElement(HtmlElements.DIV, panel);
writer.writeClassAttribute(Classes.create(panel, "content")); // needed to be scrollable inside of the panel
final Style inner = new Style(facesContext, panel);
// Todo: FIXME (be null may occur in sheets)
if (inner.getWidth() != null) {