简体   繁体   中英

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!

{f:render(section: 'sysCategory', arguments: _all)}是您所需要的。

使用内联语法编写时,您需要编写arguments: variablearguments: '{variable}'

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM