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.