{
try
{
InvocationTarget target = invocation.getTarget();
PageLinkTarget pageLinkTarget = (PageLinkTarget) target;
EventContext activationContext
= new URLEventContext(_contextValueEncoder, invocation.getContext());
PageRenderRequestParameters parameters = new PageRenderRequestParameters(pageLinkTarget.getPageName(),
activationContext);
_pageRenderRequestHandler.handle(parameters);
return _markupWriterFactory.getLatestMarkupWriter().getDocument();