// Otherwise (actionWindowConfig == null), handle the render request.
else {
if (LOG.isDebugEnabled()) {
LOG.debug("Processing render request.");
}
PageConfig pageConfig = getPageConfig(portalURL);
if (pageConfig == null)
{
// TODO Shouldn't we throw an exception here?
LOG.error("PageConfig for render path [" + portalURL.getRenderPath() + "] could not be found.");
}
request.setAttribute(AttributeKeys.CURRENT_PAGE, pageConfig);
String uri = (pageConfig.getUri() != null)
? pageConfig.getUri() : DEFAULT_PAGE_URI;
if (LOG.isDebugEnabled()) {
LOG.debug("Dispatching to: " + uri);
}
RequestDispatcher dispatcher = request.getRequestDispatcher(uri);
dispatcher.forward(request, response);