Could not find any match !

FMX:DEPENDS -

fmx:depends can be used as a dedicated XML element or as an attribute. It essentially generates an IF-statement in Freemarker to render an element.

Options

Dedicated xml element


<fmx:depends fmx:value="model.myTitle?has_content">
  <p>The following title has been configured: ${model.myTitle}</p>
</fmx:depends>

[#if model.myTitle?has_content]
  <p>The following title has been configured: ${model.myTitle}</p>
[/#if]

As an attribute


<p fmx:depends="model.myTitle?has_content">The following title has been configured: ${model.myTitle}</p>

[#if model.myTitle?has_content]
  <p>The following title has been configured: ${model.myTitle}</p>
[/#if]