[ https://issues.apache.org/jira/browse/SLING-57?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12535219 ]
fmeschbe edited comment on SLING-57 at 10/16/07 3:10 AM: ------------------------------------------------------------------ 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 and adapted the velocity template sample to address the item and not the data. Fixed in Rev. 585095 was (Author: fmeschbe): 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/sling-dev@incubator.apache.org/msg00335.html -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.