protected void renderTemplate(String templateName, Context context, TurbineRunDataInternal rundata)
throws TemplateException, IOException {
rundata.pushContext(context);
try {
templateService.writeTo(templateName, new ContextAdapter(context), rundata.getResponse().getWriter());
} finally {
rundata.popContext();
}
}