protected function searchRendererAndRenderTemplate($templateFile, $additionalData = array())
    {
        // Get the file information for the template file
        $fileInfo = pathinfo($templateFile);
        $extension = $fileInfo['extension'];
        
        // If we haven't a renderer for this extension we return an
        // empty string to prevent everything from failing.
        if (!isset($this->renderer[$extension])) {
            return '';
        }
        
        // Take the renderer...
        $renderer = $this->renderer[$extension];
        
        // ...and render the template file.
        return $renderer->renderTemplateFile(
            $templateFile, 
            $this->framework, 
            $this->framework->getRequest(), 
            $this->framework->getResponse(),
            $additionalData
        );
    }