[
https://issues.apache.org/jira/browse/SLING-57?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12535219
]
Felix Meschberger commented on SLING-57:
----------------------------------------
Extended Resource and JcrNodeResource as described. In addition I modified the
DefaultSlingServlet to be able to handle a directly addressed JCR property and
not just a node.
Fixed in Rev. 585095
> Resource: retarget the data to be the mapped object and add Item for the
> addressed repository Item
> --------------------------------------------------------------------------------------------------
>
> Key: SLING-57
> URL: https://issues.apache.org/jira/browse/SLING-57
> Project: Sling
> Issue Type: Improvement
> Components: microsling
> Reporter: Felix Meschberger
> Assignee: Felix Meschberger
> Fix For: 2.0.0
>
>
> As discussed on the devlist [1] we need both the (optionally) mapped Java
> object and the JCR item in the Resource. So the getData() method should be
> redefined as returning the mapped object or null if there is no mapping of
> any kind and getItem() to return the JCR item or null if there is no JCR item
> for the resource.
> [1] http://www.mail-archive.com/[email protected]/msg00335.html
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.