taglib: cms:setNode should set a ContentWrapper implementing a Map
-------------------------------------------------------------------
Key: MAGNOLIA-2000
URL: http://jira.magnolia.info/browse/MAGNOLIA-2000
Project: Magnolia
Issue Type: Improvement
Components: taglibs
Affects Versions: 3.5.2
Reporter: Philipp Bracher
Assignee: Philipp Bracher
Fix For: 3.5.3
This allows to use the variable where ever you need a content node (for passing
to a tag for example). The map should support all properties of the Content
object. This allows expressions like:
<cms:out nodeDataName="link" var="uuid" />
<cms:setNode var="paragraph"/>
<cms:setNode uuid="${uuid}" var="other"/>
<cms:setNode uuid="${paragraph.link}" var="other2"/>
-${other.title}<br/>
-${other.name}<br/>
-${other.metaData.modificationDate}<br/>
-${other.uuid}<br/>
<cms:out contentNode="${other}" nodeDataName="theField" />
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.magnolia.info/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/docs/en/editor/stayupdated.html
----------------------------------------------------------------