[
https://issues.apache.org/jira/browse/SLING-8731?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Oliver Lietz resolved SLING-8731.
---------------------------------
Resolution: Won't Do
{{properties}} is already used internally:
{noformat}
[class:class groovy.lang.Binding,
variables:[request:org.apache.sling.scripting.core.impl.helper.OnDemandReaderRequest@3a92c729,
resolver:org.apache.sling.resourceresolver.impl.ResourceResolverImpl@4450777e,
currentSession:org.apache.sling.jcr.oak.server.internal.TcclWrappingJackrabbitSession@1fd9df76,
resource:JcrNodeResource, [...], reader:java.io.BufferedReader@75681617,
response:org.apache.sling.scripting.core.impl.helper.OnDemandWriterResponse@32c47443,
currentNode:Node[...], jsonBuilder:null,
sling:org.apache.sling.scripting.core.impl.InternalScriptHelper@63fede28,
out:java.io.PrintWriter@71da97ae]]"
{noformat}
> Make value map of current resource available in bindings as properties
> ----------------------------------------------------------------------
>
> Key: SLING-8731
> URL: https://issues.apache.org/jira/browse/SLING-8731
> Project: Sling
> Issue Type: New Feature
> Components: Scripting
> Reporter: Oliver Lietz
> Assignee: Oliver Lietz
> Priority: Major
>
> Conventional style:
> {{<title>$resource.valueMap.title</title>}}
> Simple style via {{properties}}:
> {{<title>$properties.title</title>}}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)