Skip to content

Support map literals #63

@kwin

Description

@kwin

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'}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions