Element renderConfigElement = rootElement.element("render-config");
Iterator<Element> pageElementIterator = renderConfigElement.elementIterator("page");
while (pageElementIterator.hasNext()) {
Element pageElement = pageElementIterator.next();
Attribute nameAttribute = pageElement.attribute("name");
String pageName = nameAttribute.getValue();
Element portletElement = pageElement.element("portlet");
nameAttribute = portletElement.attribute("name");
String portletName = nameAttribute.getValue();
String liferayPortletName = portletName.replaceAll(StringPool.DASH, StringPool.BLANK);
String liferayPortletId = liferayPortletName + "_WAR_bridgetckmainportlet";
PortalPage portalPage = new PortalPage(pageName, liferayPortletId);
setupPrivatePage(companyId, userId, groupId, portalPage);
}