}
public void renderLayout(ResponseWriter writer, FacesContext context, AbstractLayout layout)
throws IOException {
LayoutStructure structure = new LayoutStructure(layout);
structure.calculateWidth();
Map<String, Object> requestMap = context.getExternalContext().getRequestMap();
Object oldLayout = requestMap.get(LAYOUT_STRUCTURE_ATTRIBUTE);
requestMap.put(LAYOUT_STRUCTURE_ATTRIBUTE, structure);
// Detect layout content;
if (null != structure.getTop()) {