[TYPO3-mvc] Widget: use of form viewHelpers?

Tim Schoch | GSTALTIG tim.schoch at gstaltig.ch
Wed Oct 12 14:46:21 CEST 2011


Not really a fix for the form problem itself, but I found a way to pass data from the widget viewHelper to the controller.
*tadaaa* You can use the initialize() function to override/set $this->arguments['foobar'] in your viewHelper. 
This will then be passed to the controller as the widgetConfiguration. Neat.
( In the render function this does not seem to work. )

Tim


More information about the TYPO3-project-typo3v4mvc mailing list