[TYPO3-mvc] shorthand fluid

Viktor Livakivskyi invisible.kinder at gmail.com
Thu May 15 17:33:13 CEST 2014


Hi, 
 
> This works fine:
> {person.name -> f:for(each: {1:{name: 'John'},2:{name:'Peter'}}, as: 
> 'person')}
> 

Sorry, but I don't understand this code, unfortunately...

Isn't it same as 
<f:for each=" {1:{name: 'John'},2:{name:'Peter'}}" as="person">
 {person.name}
</f:for>

?

Then isnserting <br /> would be very simple.


More information about the TYPO3-project-typo3v4mvc mailing list