You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Oliver Lietz (Jira)" <ji...@apache.org> on 2019/09/22 09:04:00 UTC

[jira] [Created] (SLING-8729) Make value map of current resource available in bindings as properties

Oliver Lietz created SLING-8729:
-----------------------------------

             Summary: Make value map of current resource available in bindings as properties
                 Key: SLING-8729
                 URL: https://issues.apache.org/jira/browse/SLING-8729
             Project: Sling
          Issue Type: New Feature
          Components: Scripting
            Reporter: Oliver Lietz
            Assignee: Oliver Lietz
             Fix For: Scripting FreeMarker 1.0.2


Conventional style:
 {{<title>${resource.valueMap.title!''?html}</title>}}

 Simple style via {{properties}}:
 {{<title>${properties.title!''?html}</title>}}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)