[TYPO3-mvc] switchableControllerActions and f:link.action

Cornelius Illi cornelius.illi at student.hpi.uni-potsdam.de
Thu Apr 29 15:04:06 CEST 2010


Oh yeah! Now I like it! Thanks!

Am 29.04.2010 14:24, schrieb Stephan Reuther - development.IT:
> Hi Cornelius,
>
> Zitat von Cornelius Illi<cornelius.illi at student.hpi.uni-potsdam.de>:
>
>    
>> Hi Stephan,
>>
>> thanks! But you don't know of any solution that does not require a
>> seperate details-page, i.e get the action-parameter evaluted when
>> dispatching although switchableControllerActions is set?
>> Cheers, Cornelius
>>
>>      
> If I understand correctly (link to another action on the same page)
> you have to define the "showAction" in switchableControllerActions-FlexForm.
>
> <numIndex index="200" type="array">
>     <numIndex index="0">List and single view</numIndex>
>     <numIndex index="1">MyController->list;MyController->show</numIndex>
> </numIndex>
>
> each controller-action-pair you are defining can be used in the plugin.
> they are resolved from GET-parameters "controller" and "action"
>
> so you can use the f:link.action viewHelper with tag attribute
> action="show" and it should work.
>
> Hopefully that is the solution you were looking for!?
>
>
> Stephan
>
>
> _______________________________________________
> TYPO3-project-typo3v4mvc mailing list
> TYPO3-project-typo3v4mvc at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-typo3v4mvc
>    



More information about the TYPO3-project-typo3v4mvc mailing list