[
https://issues.apache.org/jira/browse/SLING-4524?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15928903#comment-15928903
]
Dan Klco commented on SLING-4524:
---------------------------------
I agree with [~radu.cotescu]'s comment, this should probably in the
BindingValuesProvider so it can be shared across the various scripting engines.
http://markmail.org/message/c4yhj3hck5y4m3dg
> Provide the properties of the current Resource as a ValueMap via the
> sling:defineObjects tag
> --------------------------------------------------------------------------------------------
>
> Key: SLING-4524
> URL: https://issues.apache.org/jira/browse/SLING-4524
> Project: Sling
> Issue Type: Wish
> Components: Scripting
> Affects Versions: Scripting JSP-Taglib 2.2.6
> Reporter: Olaf Otto
>
> One of the most common use cases in JSP views is accessing the properties of
> the current resource. However, this currently requires explicit adaptation of
> the current resource to ValueMap, which is boilerplate. I'd thus love to see
> "properties" as one of the defaults provided by the before mentioned tag
> library.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)