Package com.liferay.faces.bridge.application

Examples of com.liferay.faces.bridge.application.BridgeNavigationHandler


    // Otherwise, if the PortletMode has changed, and a navigation-rule hasn't yet fired (which could have happened
    // in the EVENT_PHASE), then switch to the appropriate PortletMode and navigate to the current viewId in the
    // UIViewRoot.
    if (bridgeRequestScope.isPortletModeChanged() && !bridgeRequestScope.isNavigationOccurred()) {
      BridgeNavigationHandler bridgeNavigationHandler = getBridgeNavigationHandler(facesContext);
      PortletMode fromPortletMode = bridgeRequestScope.getPortletMode();
      PortletMode toPortletMode = renderRequest.getPortletMode();
      bridgeNavigationHandler.handleNavigation(facesContext, fromPortletMode, toPortletMode);
    }

    // Determines whether or not lifecycle incongruities should be managed.
    boolean manageIncongruities = PortletConfigParam.ManageIncongruities.getBooleanValue(portletConfig);
View Full Code Here


      bridgeRequestScope.removeExcludedAttributes(renderRequest);
    }
  }

  protected BridgeNavigationHandler getBridgeNavigationHandler(FacesContext facesContext) {
    BridgeNavigationHandler bridgeNavigationHandler = null;
    NavigationHandler navigationHandler = facesContext.getApplication().getNavigationHandler();

    if (navigationHandler instanceof BridgeNavigationHandler) {
      bridgeNavigationHandler = (BridgeNavigationHandler) navigationHandler;
    }
View Full Code Here

TOP

Related Classes of com.liferay.faces.bridge.application.BridgeNavigationHandler

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.