protected void processWindowsBeforeRender( final HstContainerConfig requestContainerConfig, final HstComponentWindow rootWindow, final HstComponentWindow [] sortedComponentWindows, final Map<HstComponentWindow, HstRequest> requestMap, final Map<HstComponentWindow, HstResponse> responseMap) throws ContainerException { for (int i = 0; i < sortedComponentWindows.length; i++) { HstComponentWindow window = sortedComponentWindows[i]; HstRequest request = requestMap.get(window); HstResponse response = responseMap.get(window); getComponentInvoker().invokeBeforeRender(requestContainerConfig, request, response); if (window.getResponseState().getRedirectLocation() != null) { break; } if (rootWindow.getResponseState().getForwardPathInfo() != null) { break; } } }
protected boolean processWindowsPrepareBeforeRender( final HstContainerConfig requestContainerConfig, final HstComponentWindow rootWindow, final HstComponentWindow rootRenderingWindow, final HstComponentWindow[] sortedComponentWindows, final Map<HstComponentWindow, HstRequest> requestMap, final Map<HstComponentWindow, HstResponse> responseMap) throws ContainerException { boolean redirectedOrForwarded = false; for (HstComponentWindow window : sortedComponentWindows) { HstRequest request = requestMap.get(window); HstResponse response = responseMap.get(window); if (window.isVisible() && !isAsync(window, request)) { getComponentInvoker().invokePrepareBeforeRender(requestContainerConfig, request, response); } if (window.getResponseState().getRedirectLocation() != null) { redirectedOrForwarded = true; break; } if (rootWindow.getResponseState().getForwardPathInfo() != null) { redirectedOrForwarded = true; break; } } return redirectedOrForwarded; }
if (rootWindow.getResponseState().getForwardPathInfo() != null) { break;
String forwardPathInfo = rootWindow.getResponseState().getForwardPathInfo(); redirectLocation = rootWindow.getResponseState().getRedirectLocation(); if (rootWindow.getResponseState().getForwardPathInfo() != null) { forwardPathInfo = rootWindow.getResponseState().getForwardPathInfo();
String forwardPathInfo = rootWindow.getResponseState().getForwardPathInfo(); if (rootWindow.getResponseState().getForwardPathInfo() != null) { forwardPathInfo = rootWindow.getResponseState().getForwardPathInfo();