{
throw new ModelException("Both id and name specified for group '" + id + "'");
}
String groupBundle = groupConfig.getAttribute("bundle", formular.getBundle());
GroupDescriptor group = formular.addGroup(name, groupBundle);
group.setPosition(positionStringToValue(groupConfig.getAttribute("pos", "C")));
group.setVisible(NumberTools.toBool(groupConfig.getAttribute("visible", "true"), true));
group.setTitleVisible(NumberTools.toBool(groupConfig.getAttribute("titleVisible", "true"), true));
group.setIcon(groupConfig.getAttribute("icon", null));
group.setLabel(groupConfig.getAttribute("label", group.getLabel()));
createFields(groupConfig, formular, group, null);
}
}
}