/** * Prepare a Fluid view for rendering an error page with the Neos backend * * @return StandaloneView */ protected function prepareFluidView() { $fluidView = new StandaloneView(); $fluidView->setTemplatePathAndFilename('resource://TYPO3.Neos/Private/Templates/Error/NeosBackendMessage.html'); $fluidView->setLayoutRootPath('resource://TYPO3.Neos/Private/Layouts'); // FIXME find a better way than using templates as partials $fluidView->setPartialRootPath('resource://TYPO3.Neos/Private/Templates/TypoScriptObjects'); $fluidView->setControllerContext($this->runtime->getControllerContext()); $fluidView->setFormat('html'); return $fluidView; }