fmx:import

Freemarker equivalent: https://freemarker.apache.org/docs/ref_directive_import.html

This element simply allows to import another FMX or FTL template using a specified name.

Options

<!-- include an FTL -->
<fmx:import fmx:path="/bibo/sample.ftl" fmx:name="bibo"/>

<!-- include an FMX -->
<fmx:import fmx:path="/bibo/sample.fmx" fmx:name="bibo"/>
[#import '/bibo/sample.ftl' as bibo /]

[#import '/bibo/sample.fmx' as bibo /]