[TYPO3-mvc] create array as viewhelper argument
Franz Koch
typo3.RemoveForMessage at elements-net.de
Tue Mar 1 10:11:37 CET 2011
Hey,
>>> i wonder if it is possible to build an argument array for a fluid
>>> viewhelper like link.action. Thats what i tried, but it didn't work:
>>>
>>> <f:link.action action="myaction" controller="mycontroller"
>>> arguments="{mykey : myvalue}">my link</f:link.action>
what happened when you used this code? Did the arguments simply be
ignored or what's the problem with this?
>> why are you trying to do?
> because i need to link to a certain action in a certain controller for
> an entity i don't know which it is in that moment.
You know that you can use variables as actions etc?
<f:link.action action="{someAction}"
controller="{someController}">Foo</f:link.action>
--
kind regards,
Franz Koch
More information about the TYPO3-project-typo3v4mvc
mailing list