Currently it is not possible to create map literals (consisting of several key/value pairs) in HTL expression language. This would be especially handy for passing request attributes (see https://issues.apache.org/jira/browse/SLING-5812) which may now be given to data-sly-include. Currently one needs to have some backing code in JavaScript or Java to be able to use that option.
Maybe JSON notation would work
${'key1':'value1','key2':'value2'}
Currently it is not possible to create map literals (consisting of several key/value pairs) in HTL expression language. This would be especially handy for passing request attributes (see https://issues.apache.org/jira/browse/SLING-5812) which may now be given to
data-sly-include. Currently one needs to have some backing code in JavaScript or Java to be able to use that option.Maybe JSON notation would work