{
public void execute(Event<UIPortal> event) throws Exception
{
UIPortal uiPortal = event.getSource();
UIPortalApplication application = uiPortal.getAncestorOfType(UIPortalApplication.class);
UIPortalComposer composer = application.findFirstComponentOfType(UIPortalComposer.class);
UITabPane uiTabPane = composer.getChild(UITabPane.class);
String appListId = uiTabPane.getChild(UIApplicationList.class).getId();
uiTabPane.replaceChild(appListId, composer.createUIComponent(UIApplicationList.class, null, null));
}
}