[MAGNOLIA-1511] <cms:out tag does not have an option to pass in Content object via (contentNode attribute) Created: 04/May/07  Updated: 12/May/14  Resolved: 12/May/14

Status: Closed
Project: Magnolia
Component/s: taglibs
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Major
Reporter: zam6ak Assignee: Unassigned
Resolution: Outdated 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   

<cms:out tag should have attribute contentNode="" where you can pass in Content object.
This is soooooo useful becuase contentNodeName attribute that is supported requires relative paths.
In the JSP page it would be much easier to fetch a content object and pass it to <cms:out than it is to figure out a relative path to a node.

Yes I know there is i.m.c.c.LinkUtil but this would be a great improvement and would make the tag more consistent with others (like includeTemplate...)


Generated at Mon Feb 12 03:27:37 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.