{
WebResponse originalResponse = (WebResponse) cycle.getOriginalResponse();
if (originalResponse != response)
{
IMetaDataBufferingWebResponse bufferingWebResponse = (IMetaDataBufferingWebResponse) response;
bufferingWebResponse.writeMetaData(originalResponse);
}
}
}
private static IRequestHandler createRequestHandler(Class<? extends Page> pageClass, PageParameters params,