protected function renderTemplate($templatePathAndFilename, array $contextVariables)
{
$standaloneView = new StandaloneView();
$standaloneView->setTemplatePathAndFilename($templatePathAndFilename);
$standaloneView->assignMultiple($contextVariables);
return $standaloneView->render();
}