[ 
https://issues.apache.org/jira/browse/SLING-590?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12680166#action_12680166
 ] 

Carsten Ziegeler commented on SLING-590:
----------------------------------------

Rethinking this, I prefer removing this functionality from the taglib again to 
avoid any incompatibilities. Whatever name we pick there is a potential 
collision with an already existing variable; so the only way avoiding this is 
to either define a new tag or a new version for the whole taglib. However as 
this is a very simple functionality which can be done by hand just by writing 
"ValueMap m = resource.adaptTo(ValueMap.class)" it's better to remove this 
functionality.
If noone objects I'll remove this in the next days again.

> Add resource.adaptTo(ValueMap.class) to page context attributes
> ---------------------------------------------------------------
>
>                 Key: SLING-590
>                 URL: https://issues.apache.org/jira/browse/SLING-590
>             Project: Sling
>          Issue Type: New Feature
>          Components: Scripting JSP
>    Affects Versions: Scripting JSP-Taglib 2.0.2
>            Reporter: Tobias Bocanegra
>            Assignee: Carsten Ziegeler
>            Priority: Minor
>             Fix For: Scripting JSP-Taglib 2.0.4
>
>
> <sling:defineObject/> should add a 'properties' as page context variable from 
> resource.adaptTo(ValueMap.class)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to