You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Feike Visser (JIRA)" <ji...@apache.org> on 2017/06/21 13:06:00 UTC
[jira] [Updated] (SLING-6636) Access request-attributes directly in
Sightly
[ https://issues.apache.org/jira/browse/SLING-6636?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Feike Visser updated SLING-6636:
--------------------------------
Component/s: (was: Scripting)
API
> Access request-attributes directly in Sightly
> ---------------------------------------------
>
> Key: SLING-6636
> URL: https://issues.apache.org/jira/browse/SLING-6636
> Project: Sling
> Issue Type: Improvement
> Components: API
> Reporter: Feike Visser
>
> With https://issues.apache.org/jira/browse/SLING-5812 you can now pass in request-attributes. Still you can not access them directly in Sightly.
> It would be great to access them like
> ${request.attributes['layout']}
> Adding a List<String,Object> to SlingHttpServletRequest might be the best.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)