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/03/23 10:47:41 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:
--------------------------------
Description:
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.
was:
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']}
> Access request-attributes directly in Sightly
> ---------------------------------------------
>
> Key: SLING-6636
> URL: https://issues.apache.org/jira/browse/SLING-6636
> Project: Sling
> Issue Type: Improvement
> Components: Scripting
> 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.3.15#6346)