setAttribute("error", getSectionPropertiesHandler().hasError("layout"));
renderFragment("layoutsStart");
GraphicElement[] layouts = UIServices.lookup().getLayoutsManager().getAvailableElements(getSectionPropertiesHandler().getWorkspace().getId(), null, null);
for (int i = 0; i < layouts.length; i++) {
Layout layout = (Layout) layouts[i];
boolean currentLayout = layout.getId().equals(getSectionPropertiesHandler().getLayout());
setAttribute("layoutDescription", layout.getDescription());
setAttribute("layoutId", layout.getId());
renderFragment(currentLayout ? "outputSelectedLayout" : "outputLayout");
}
renderFragment("layoutsEnd");
//layout preview