// 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);