{
filterManager.processFilter(eventRequest, eventResponse, portletInstance, portletConfig.getPortletContext());
}
else
{
portletInstance.processEvent(eventRequest, eventResponse);
}
}
else if (PortletWindow.Action.RESOURCE.equals(window.getAction()))
{
ResourceRequest resourceRequest = (ResourceRequest)window.getPortletRequest();