final IPortletWindowId targetedPortletWindowId = this.portletRequestParameterManager.getTargetedPortletWindowId(req);
if (targetedPortletWindowId != null) {
final PortletUrl portletUrl = this.portletRequestParameterManager.getPortletRequestInfo(req, targetedPortletWindowId);
if (RequestType.ACTION.equals(portletUrl.getRequestType())) {
final IPortletEntity targetedPortletEntity = this.portletWindowRegistry.getParentPortletEntity(req, targetedPortletWindowId);
if (targetedPortletEntity != null) {
final String channelSubscribeId = targetedPortletEntity.getChannelSubscribeId();
final boolean actionExecuted = channelManager.doChannelAction(req, res, channelSubscribeId, false);
if (actionExecuted) {
// The action completed, return immediately
return;