[TYPO3-mvc] Action and Controller from FlexForm

Martin Kutschker masi-no at spam-typo3.org
Fri Jan 1 17:47:40 CET 2010


Sebastian Kurfürst schrieb:
> Hey,
> 
>> 2. It's still not possible to easily overwrite the default action of a
>> plugin.
>> If you just want to overwrite the default action of some plugin (imagine
>> a dropdown in your flexform with the options "default user list",
>> "grouped user list" or something like that) you'll have to copy _all_
>> controller & action combinations to all options.
> Try setting a field "controller" and "action". This should work.

But the fields mustn't be independent. The user needs to choose a controller/action pair, so she
shouldn't need to guess which combinations are valid.

So instead of a switchableControllerActions drop-down it would be much easier to have a
defaultControllerAction field (and possibly TS configuration).

Masi


More information about the TYPO3-project-typo3v4mvc mailing list