From 6dbd2ebd8e0ae5e030ba287fe348cad641470749 Mon Sep 17 00:00:00 2001 From: jensp Date: Mon, 29 Apr 2019 14:21:05 +0000 Subject: [PATCH] Freemarker support for DecisionTree git-svn-id: https://svn.libreccm.org/ccm/trunk@5973 8810af33-2d31-482b-a856-94f89814c4df --- .../freemarker/ccm-cms-types-decisiontree.ftl | 47 +++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 ccm-cms-types-decisiontree/web/themes/freemarker/ccm-cms-types-decisiontree.ftl diff --git a/ccm-cms-types-decisiontree/web/themes/freemarker/ccm-cms-types-decisiontree.ftl b/ccm-cms-types-decisiontree/web/themes/freemarker/ccm-cms-types-decisiontree.ftl new file mode 100644 index 000000000..dd6754333 --- /dev/null +++ b/ccm-cms-types-decisiontree/web/themes/freemarker/ccm-cms-types-decisiontree.ftl @@ -0,0 +1,47 @@ +<#ftl ns_prefixes={ +"bebop":"http://www.arsdigita.com/bebop/1.0", +"cms":"http://www.arsdigita.com/cms/1.0", +"nav":"http://ccm.redhat.com/navigation", +"ui": "http://www.arsdigita.com/ui/1.0"} +> + +<#function getCurrentSection item> + <#return item["./sections[title]/*"]> + + +<#function getParameters item> + <#return item["./parameters"]> + + +<#function getSectionOid section> + <#return section["./@oid"]> + + +<#function getSectionUrl section> + <#return section["./customInfo/@currentURL"]> + + +<#function getSectionTitle section> + <#return section["./title"]> + + +<#function getSectionInstructions section> + <#return section["./instructions"]> + + +<#function getSectionOptions section> + <#return section["./sectionOptions"]> + + +<#function getSectionOptionOid option> + <#return section["./@oid"]> + + +<#function getSectionOptionParameterName option> + <#return section["./parameterName"]> + + +<#function getSectionOptionValue option> + <#return section["./value"]> + +