[TYPO3-mvc] Use index of iteration attribute as array index

Sebastian Kurfürst sebastian at typo3.org
Mon Jun 27 09:55:31 CEST 2011


Hey,You could give

> {imgSrc.{index}} a try as this would be the logic expression to first
> substitute index. Your current expression IMO will always look for
> named property index of imgSrc.
> [...]
This won't work, as this kind of expression is not recognized by Fluid.

If you need such (kinda esoteric) expressions, I'd go for a custom
ViewHelper which wraps Tx_Extbase_Utility_ObjectAccess.

Greets,
Sebastian


More information about the TYPO3-project-typo3v4mvc mailing list