/** {@inheritDoc} */
@Override
public boolean render(InternalContextAdapter context, Writer writer,
Node node) throws IOException {
ViewContext viewContext = (ViewContext) context
.getInternalUserContext();
Map<String, Object> params = VelocityUtil.getParameters(context, node);
HttpServletRequest request = viewContext.getRequest();
HttpServletResponse response = viewContext.getResponse();
ServletContext servletContext = viewContext.getServletContext();
start(context, writer, params, request, response, servletContext);
VelocityUtil.evaluateBody(context, writer, node);
end(context, writer, params, request, response, servletContext);
return true;
}