Hello all,
I have a major comprehension problem right now. I would like to use variables in a section (Neos FDlow 6.3.0). I have two variables defined in my ActionController (customers and currentCustomer).
One of the two variables is null inside the Section, but still exists before it.
<f:render partial="General/CardSimple" arguments="{cardWidth: '6', cardHeader: 'Kunden', cardBody: '{f:render(section:\'cardBody\')}'}" />
<f:debug>{currentCustomer}</f:debug>
<f:debug>{customers}</f:debug>
<f:section name="cardBody">
<f:debug>{currentCustomer}</f:debug>
<f:debug>{customers}</f:debug>
</f:section>
Is this a normal behavior? Why one is avaible and the other not inside the section part?
Now I see two possibilities:
<f:render section="cardBody" arguments="{customers: customers, currentCustomer: currentCustomer}">
or
<f:render partial="cardBody" section="cardBody" arguments="{customers: customers, currentCustomer: currentCustomer}">
However, in both cases " Section “cardBody” does not exist." shows up.
Do you have any ideas?
Thank you very much in advanced for your help.
Best regards,
Tobias