[TYPO3-mvc] Problems with inline ViewHelper in an array
Nils Blattner
nb at cabag.ch
Wed Jan 20 18:07:14 CET 2010
Hey there
For a Pager I was trying to use a ViewHelper with the inline notation
inside an array like so:
<f:alias map="{args: steps:appendArray(array: arguments, key:
'lastPage', value: lastPage)}">
appendArray would then take the lastPage, add it to the array and return it.
But the whole thing was evaluated as a string (fallback etc):
RuntimeException
The argument "map" was registered with type "array", but is of type
"string" in view helper "Tx_Fluid_ViewHelpers_AliasViewHelper". Value of
argument: "{args: {steps:appendArray(array: arguments, key: 'lastPage',
value: lastPage)}}"
Now does fluid even support this? ;P
If yes, what am I doing wrong?
Thanks in advance
More information about the TYPO3-project-typo3v4mvc
mailing list