context.getUIApplication().addMessage(
new ApplicationMessage("UINavigationNodeSelector.msg." + NavigationError.NAVIGATION_NO_SITE.name(), null,
ApplicationMessage.ERROR));
UIPopupWindow popup = getAncestorOfType(UIPopupWindow.class);
popup.createEvent("ClosePopup", Phase.PROCESS, context).broadcast();
PortalRequestContext prContext = Util.getPortalRequestContext();
UIWorkingWorkspace uiWorkingWS = Util.getUIPortalApplication().getChild(UIWorkingWorkspace.class);
prContext.addUIComponentToUpdateByAjax(uiWorkingWS);
prContext.setFullRender(true);