[TYPO3-mvc] Choosing controller and action in flexform

Sebastian Fischer typo3 at fischer.im
Sat Sep 19 12:25:50 CEST 2009


Hi everyone,

today i thought and played around with choosing controller and actions 
in flexforms. My current solution result in the following patch.

I know its a little crude but it works.

All you need to do, give a combination of "Controller::action" from the 
flexform preferable form a select field. This combination gets checked 
in overrideControllerAndAction against switchableControllerActions. from 
the Tx_Extbase_Utility_Extension::configurePlugin in the ext_localconf.

If the combination is found it get's set to controllerName and 
controllerActionName in the request.

Any ideas or better solutions?


Greetings
Sebastian
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: dispatcher.php.diff
Url: http://lists.netfielders.de/pipermail/typo3-project-typo3v4mvc/attachments/20090919/0ca250d7/attachment.txt 


More information about the TYPO3-project-typo3v4mvc mailing list