Sebastian
Sebastian

Reputation: 929

TYPO3 - inline f:section f:render dont work

i have a problem with the inline f:render:

<f:section name="sysCategory">
    <f:for each="{sysCategoryDetailArray}" as="category" iteration="iteration">
        <f:spaceless>{category.title}</f:spaceless>
    </f:for>
</f:section>

Works:

<f:render section="sysCategory" arguments="{_all}" />

Dont Work:

{f:render(section: 'sysCategory', arguments: {_all})}

Thanks for Help!

Upvotes: 1

Views: 1196

Answers (2)

Naderio
Naderio

Reputation: 1419

You Need to write either arguments: variable or arguments: '{variable}' when writing in inline syntax.

Upvotes: 0

Claus Due
Claus Due

Reputation: 4271

{f:render(section: 'sysCategory', arguments: _all)} is what you need.

Upvotes: 4

Related Questions