[TYPO3-mvc] Custom view helpers in a partial called multiple times

François Suter fsu-lists at cobweb.ch
Thu Feb 21 11:23:07 CET 2013


Hi Bastian,

> you're extending Tx_Fluid_ViewHelpers_ForViewHelper instead of
> AbstractViewHelper – I guess this is your problem as in the cached
> Template the *renderStatic()* method of the ForViewHelper will be called.

Well-spotted! Copy and paste error, I have another view helper knowingly 
extending Tx_Fluid_ViewHelpers_ForViewHelper.

Mystery solved. Thanks a lot!

-- 

Francois Suter
Cobweb Development Sarl - http://www.cobweb.ch


More information about the TYPO3-project-typo3v4mvc mailing list