[TYPO3-mvc] Fluid Templates: Access indexed array

Bastian Waidelich bastian at typo3.org
Tue Jul 19 19:24:41 CEST 2011


Hauke Stange wrote:

Hi Hauke,

> I have a select-field and want some of it's values pre-selected. The
> pre-selection values are stored in 'selectedFirmen'. The needed index
> key lies in 'versorgungsbereich.uid'.
> [...]
> {selectedFirmen[versorgungsbereich.uid]}

Fluid doesn't support dynamic array indexes as this would require a 
major rewrite of the parser.
I've just added your question to the Extbase/Fluid FAQ [1]. You'll find 
more information there. If you need more help, let us know!

HTH
Bastian



[1] 
http://forge.typo3.org/projects/typo3v4-mvc/wiki/FAQ#How-can-I-use-dynamic-array-indexes


More information about the TYPO3-project-typo3v4mvc mailing list