You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Felix Meschberger (JIRA)" <ji...@apache.org> on 2007/10/16 12:06:50 UTC
[jira] Created: (SLING-57) Resource: retarget the data to be the
mapped object and add Item for the addressed repository Item
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.
[jira] Closed: (SLING-57) Resource: retarget the data to be the
mapped object and add Item for the addressed repository Item
Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SLING-57?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Felix Meschberger closed SLING-57.
----------------------------------
Resolution: Fixed
This has been implemented and the issue can be closed.
> 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.
[jira] Issue Comment Edited: (SLING-57) Resource: retarget the data
to be the mapped object and add Item for the addressed repository Item
Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Commented: (SLING-57) Resource: retarget the data to be the
mapped object and add Item for the addressed repository Item
Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
[ 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/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.