reqMap.put(_RENDER_VIEW_MARKER, Boolean.TRUE);
}
// See if there is a possiblity of short-circuiting the current
// Render Response
ExtendedRenderKitService service = _getExtendedRenderKitService(context);
if ((service != null) &&
service.shortCircuitRenderView(context))
{
// Yup, we don't need to do anything
;
}
else
{
try
{
if (service != null)
service.encodeBegin(context);
InternalView internal = _getInternalView(context,
viewToRender.getViewId());
if (internal != null)
{
internal.renderView(context, viewToRender);
}
else
{
super.renderView(context, viewToRender);
}
if (service != null)
service.encodeEnd(context);
}
finally
{
if (service != null)
service.encodeFinally(context);
}
}
// Remove the 'marker' from the request map just in case the entire tree is rendered again
reqMap.remove(_RENDER_VIEW_MARKER);