[TYPO3-mvc] Tx_Fluid_Core_ViewHelper_AbstractViewHelper::setControllerContext() gone

g4-lisz at tonarchiv.ch g4-lisz at tonarchiv.ch
Fri Nov 25 15:15:31 CET 2011


hi there,

i moved our project from 4.5LTS to 4.6.1 because of a nasty extbase 
caching issue...

now i got the error "call to undefined method setControllerContext()" 
inside a php view:

class Tx_Anq_View_Resultat_Navigate extends 
Tx_Extbase_MVC_View_AbstractView {
         public function render(){

                 $translang = 
t3lib_div::makeInstance('Tx_Anq_ViewHelpers_Format_TranslangViewHelper');
                 $translang->setControllerContext($this->controllerContext);
                [... ]
        }
        [...]
}

In Fluid 1.4.1 there's only the method setRenderingContext() - how can i 
get this context inside my view render method?

cheers,
till


More information about the TYPO3-project-typo3v4mvc mailing list