request.setAttribute(InternalConstants.CONTENT_TYPE_ATTRIBUTE_NAME, contentType);
Page containerPage = cache.get(parameters.getContainingPageName());
ComponentPageElement element = containerPage.getComponentElementByNestedId(parameters.getNestedComponentId());
// In many cases, the triggered element is a Form that needs to be able to
// pass its event handler return values to the correct result processor.
environment.push(ComponentEventResultProcessor.class, resultProcessor);
element.triggerContextEvent(parameters.getEventType(), parameters.getEventContext(), callback);
environment.pop(ComponentEventResultProcessor.class);
if (queue.isPartialRenderInitialized())
{