Configuration[] pagesConfig = configuration.getChildren("page");
for (Configuration pageConfig : pagesConfig)
{
String pageBundle = pageConfig.getAttribute("bundle", formularDescriptor.getBundle());
PageDescriptor page = formularDescriptor.addPage(pageConfig.getAttribute("name"), pageBundle);
page.setPosition(positionStringToValue(pageConfig.getAttribute("pos", "C")));
page.setIcon(pageConfig.getAttribute("icon", null));
page.setInactiveIcon(pageConfig.getAttribute("inactiveIcon", null));
createGroups(pageConfig, formularDescriptor);
createGroupLists(pageConfig, formularDescriptor);
}