JSF Phase Listener redirect form not iframe
问题 I have this PhaseListener that checks whether the user is still logged in or not after restoring a view. If the session has expired, then I want the entire form to redirect to the /login.jsf page but instead it only redirects the iframe within. Basically, this is my code in the afterPhase() method: if (isWebUserLogonOk(session)) { NavigationHandler nh = faces.getApplication.getNavigationHandler(); nh.handleNavigation(faces, null, "loggedoff"); } Where loggedoff is a navigation case that takes