[MAGNOLIA-2000] taglib: cms:setNode should set a ContentWrapper implementing a Map Created: 14/Jan/08 Updated: 23/Jan/13 Resolved: 14/Jan/08 |
|
| Status: | Closed |
| Project: | Magnolia |
| Component/s: | taglibs |
| Affects Version/s: | 3.5.2 |
| Fix Version/s: | 3.5.3 |
| Type: | Improvement | Priority: | Major |
| Reporter: | Philipp Bärfuss | Assignee: | Philipp Bärfuss |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Template: |
|
| Acceptance criteria: |
Empty
|
| Task DoD: |
[ ]*
Doc/release notes changes? Comment present?
[ ]*
Downstream builds green?
[ ]*
Solution information and context easily available?
[ ]*
Tests
[ ]*
FixVersion filled and not yet released
[ ] 
Architecture Decision Record (ADR)
|
| Description |
|
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"/> -${other.title}<br/> <cms:out contentNode="${other}" nodeDataName="theField" /> |