Package com.liferay.faces.bridge.context.url

Examples of com.liferay.faces.bridge.context.url.BridgeResourceURL.replaceBackLinkParameter()


      // If the "javax.portlet.faces.BackLink" parameter is found, then replace it's value
      // with a URL that can cause navigation back to the current view.
      if (bridgeResourceURL.getParameter(Bridge.BACK_LINK) != null) {
        FacesContext facesContext = FacesContext.getCurrentInstance();
        bridgeResourceURL.replaceBackLinkParameter(facesContext);
      }
    }

    // If the specified URL is opaque, meaning it starts with something like "portlet:" or "mailto:" and
    // doesn't have the double-forward-slash like "http://" does, then
View Full Code Here


      // If the "javax.portlet.faces.BackLink" parameter is found, then replace it's value with
      // a URL that can cause navigation back to the current view.
      if (bridgeResourceURL.getParameter(Bridge.BACK_LINK) != null) {
        FacesContext facesContext = FacesContext.getCurrentInstance();
        bridgeResourceURL.replaceBackLinkParameter(facesContext);
      }
    }

    // Otherwise, if the specified URL is hierarchical and targets a resource internal to this
    // application, then
View Full Code Here

      // If the "javax.portlet.faces.BackLink" parameter is found, then replace it's value with a URL
      // that can cause navigation back to the current view.
      if (bridgeResourceURL.getParameter(Bridge.BACK_LINK) != null) {
        FacesContext facesContext = FacesContext.getCurrentInstance();
        bridgeResourceURL.replaceBackLinkParameter(facesContext);
      }

      // If the "javax.portlet.faces.InProtocolResourceLink" parameter is found, then
      if ((bridgeResourceURL.getParameter(Bridge.IN_PROTOCOL_RESOURCE_LINK) != null)) {
        bridgeResourceURL.setInProtocol(true);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.