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/03 16:46:50 UTC
[jira] Created: (SLING-33) Add field for the Node to the
DefaultContent field
Add field for the Node to the DefaultContent field
--------------------------------------------------
Key: SLING-33
URL: https://issues.apache.org/jira/browse/SLING-33
Project: Sling
Issue Type: Improvement
Components: Content
Affects Versions: 2.0.0
Reporter: Felix Meschberger
Assignee: Felix Meschberger
Fix For: 2.0.0
The DefaultContent is currently used by the Sling Content Mapping to map a node into a Content object if no other mapping applied. The DefaultContent uses the primary node type as the component ID and is a Java Map whose properties are just the properties of the node loaded.
We might want to add a field to the DefaultContent object which takes the node from which the content was loaded. This field would probably not be written back through the JCR OCM and therefore be somewhat like a read-only ...
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Closed: (SLING-33) Add field for the Node to the
DefaultContent field
Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SLING-33?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Felix Meschberger closed SLING-33.
----------------------------------
Resolution: Won't Fix
Fix Version/s: (was: 2.0.0)
This is not needed anymore as the Resource provides direct access to the repository node of the request as per the new Sling API.
Therefore, this issue will of course not be "fixed"
> Add field for the Node to the DefaultContent field
> --------------------------------------------------
>
> Key: SLING-33
> URL: https://issues.apache.org/jira/browse/SLING-33
> Project: Sling
> Issue Type: Improvement
> Components: Content
> Affects Versions: 2.0.0
> Reporter: Felix Meschberger
> Assignee: Felix Meschberger
>
> The DefaultContent is currently used by the Sling Content Mapping to map a node into a Content object if no other mapping applied. The DefaultContent uses the primary node type as the component ID and is a Java Map whose properties are just the properties of the node loaded.
> We might want to add a field to the DefaultContent object which takes the node from which the content was loaded. This field would probably not be written back through the JCR OCM and therefore be somewhat like a read-only ...
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.