final List<UIColumn> columns = getRendererdColumns();
if (!columns.isEmpty()) {
if (i < columns.size()) {
UIColumn column = columns.get(i);
if (column instanceof UIColumnSelector) {
RendererBase renderer
= ComponentUtil.getRenderer(facesContext, column);
if (renderer == null) {
LOG.warn("can't find renderer for " + column.getClass().getName());
renderer = ComponentUtil.getRenderer(facesContext, UIPanel.COMPONENT_FAMILY, RENDERER_TYPE_OUT);
}
width = renderer.getFixedWidth(facesContext, column);
} else {
for (UIComponent component : (List<UIComponent>) column.getChildren()) {
RendererBase renderer
= ComponentUtil.getRenderer(facesContext, component);
width += renderer.getFixedWidth(facesContext, component);
}
}
layoutInfo.update(width, i);
} else {
layoutInfo.update(0, i);