ViewHelper Documentation
render
ViewHelper that renders a section or a specified partial
== Examples ==
<f:render partial="SomePartial" arguments="{foo: someVariable}" />
<f:section name="someSection">This is a section. {foo}</f:section>
<f:render section="someSection" arguments="{foo: someVariable}" />
<f:section name="mySection">
<f:for each="{myMenu}" as="menuItem">
<li>
{menuItem.text}
<f:if condition="{menuItem.subItems}">
<f:render section="mySection" arguments="{myMenu: menuItem.subItems}" />
</f:if>
</li>
</f:for>
</f:section> <f:render section="mySection" arguments="{myMenu: menu}" />
<ul>
<li>menu1a</li>
<li>menu1b</li>
</ul>
[...] (depending on the value of {menu})
<f:render partial="somePartial" arguments="{_all}" />
Arguments
section string, required
partial string, required
arguments string, required
optional string, required