[TYPO3-mvc] FLUID: extended loop features

Franz Koch typo3.RemoveForMessage at elements-net.de
Wed Jan 6 18:44:22 CET 2010


Hi,

> This version is more natural. Or is it "join by" rather than "join with"? Hm.
>
> <f:join each="..." as="name" with="separator">
>
> eg
>
> <f:join each="{persons}" as="person" with=", ">
> {person.name}
> </f:join>
>
> Is there a need for a "long version" of "with" as an element?

when thinking about more complex separators (HTML code) I think the 
"long version" might be easier to read/handle. To actually both might 
come handy.

-- 
kind regards,
Franz Koch

---------------------------------------------------
PayPal-Account: 'paypal _at_ elements-net _dot_ de'
---------------------------------------------------


More information about the TYPO3-project-typo3v4mvc mailing list