[TYPO3-mvc] FLUID :: how can you access properties of m:n related objects?

Oliver Klee typo3-german-02 at oliverklee.de
Thu Nov 3 15:23:14 CET 2011


Hi,

Am 03.11.2011 12:07, schrieb Roland:
> i am really suprised, that this does not work in my list-view FLUID
> template automatically:
> 
> {produkt.zulassungen.0.name}
> 
> "Get the name of the first Zulassung associated with the current
> Produkt" (Produkts are iterated via for-viewhelper in list template)

AFAIK, the ".0" notation only works for arrays, not for ObjectStorages,
and your Zulassungen probably is an ObjectStorage.


Oli


More information about the TYPO3-project-typo3v4mvc mailing list