PortalService service = null;
try {
service = (PortalService)this.manager.lookup(PortalService.ROLE);
Layout portalLayout = service.getComponentManager().getProfileManager().getPortalLayout(null, null);
Renderer portalLayoutRenderer = service.getComponentManager().getRenderer( portalLayout.getRendererName());
contentHandler.startDocument();
portalLayoutRenderer.toSAX(portalLayout, service, contentHandler);
contentHandler.endDocument();
} catch (ComponentException ce) {
throw new SAXException("Unable to lookup portal service.", ce);
} finally {
this.manager.release(service);