5.11.1.1.3.1.7. exampleSnippetUsingCustomFunction.ftl

Listing 5.99 examples/exampleSnippetUsingCustomFunction.ftl
1<#import "/library/custom_functions_libproject.ftl" as cf_libproject>
2
3<#if !(modelObject)??>  <#stop "modelObject not found in context" ></#if>
4
5<#assign simpleEntityClassName= cf_libproject.createSimpleEntityClassName(modelObject.name)>
6
7<!-- use of the value returned by cf_libproject.createSimpleEntityClassName assigned to variable simpleEntityClassName -->