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: variable
或arguments: '{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.