sling-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oliver Lietz (Jira)" <j...@apache.org>
Subject [jira] [Closed] (SLING-8709) Make value map of current resource available in bindings as properties
Date Mon, 30 Sep 2019 21:37:00 GMT

     [ https://issues.apache.org/jira/browse/SLING-8709?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Oliver Lietz closed SLING-8709.
-------------------------------

> Make value map of current resource available in bindings as properties
> ----------------------------------------------------------------------
>
>                 Key: SLING-8709
>                 URL: https://issues.apache.org/jira/browse/SLING-8709
>             Project: Sling
>          Issue Type: New Feature
>          Components: Scripting
>            Reporter: Oliver Lietz
>            Assignee: Oliver Lietz
>            Priority: Major
>             Fix For: Scripting Thymeleaf 2.0.2
>
>
> Conventional style:
>  {{<title data-th-text="${resource.getValueMap().get('title')}">Thymeleaf</title>}}
>  Simple style via {{properties}}:
>  {{<title data-th-text="${properties.title}">Thymeleaf</title>}}



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

Mime
View raw message