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