Could not find any match !

FMX:WRAP -

fmx:wrap can only be used as a dedicated attribute. It is similar to the fmx:depends statement with the difference that it alwas generates the “inner” body whereas the outer element is only rendered when the expression evaluates to true.

As an attribute


<a href="${model.link}" fmx:wrap="model.link?has_content">
    <div class="my-teaser">
        <p>Teasertext</p>
    </div>
</a>

[#if model.link?has_content]
<a href="${model.link}">
    <div class="my-teaser">
        <p>Teasertext</p>
    </div>
</a>
[#else]
    <div class="my-teaser">
        <p>Teasertext</p>
    </div>
[/#if]