Iterator portletsIter = this.portletsConfigurations.keySet().iterator();
while (portletsIter.hasNext()) {
String portletName = (String) portletsIter.next();
Map<String, String> portletConfiguration = this.portletsConfigurations.get(portletName);
if (portletConfiguration == null)
throw new AssertException("No portlet configuration found for portlet::" + portletName + " in portal::" + this.name);
// add portal and portlet name to configuration
portletConfiguration.put("portalName", this.name);
portletConfiguration.put("id", portletName);
PortletContainer pc = PortletFactory.getPortletContainerFor(portletConfiguration, getWindowControl(), ureq);
pc.addControllerListener(this);