delegatePortletUrl = new PortletUrl(portletWindowId);
this.portletRequestParameterManager.setAdditionalPortletUrl(request, delegatePortletUrl);
}
parentPortletUrl.setDelegatePortletUrl(delegatePortletUrl);
final PortletMode mode = delegateState.getPortletMode();
delegatePortletUrl.setPortletMode(mode);
final WindowState state = delegateState.getWindowState();
delegatePortletUrl.setWindowState(state);
}
final WindowState parentWindowState = delegationRequest.getParentWindowState();
if (parentWindowState != null) {
parentPortletUrl.setWindowState(parentWindowState);
}
final PortletMode parentPortletMode = delegationRequest.getParentPortletMode();
if (parentPortletMode != null) {
parentPortletUrl.setPortletMode(parentPortletMode);
}
final Map<String, List<String>> parentParameters = delegationRequest.getParentParameters();
if (parentParameters != null) {