for (int i = 0; i < listeners.length; i += 2)
{
if (listeners[i] == PageEndRenderListener.class)
{
PageEndRenderListener l = (PageEndRenderListener) listeners[i + 1];
if (event == null)
event = new PageEvent(this, _requestCycle);
l.pageEndRender(event);
}
}
}