[MGNLSTK-584] Cleaner way to pass paragraph lists to the newBar tag Created: 12/Feb/10  Updated: 23/Jan/13  Resolved: 12/Feb/10

Status: Closed
Project: Magnolia Standard Templating Kit (closed)
Component/s: base system
Affects Version/s: None
Fix Version/s: 1.3

Type: New Feature Priority: Minor
Reporter: Magnolia International Assignee: Magnolia International
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
relation
is related to MAGNOLIA-2993 Extract logic out of taglibs - reusab... Closed
Template:
Acceptance criteria:
Empty

 Description   

By exposing a getAllowedParagraphs(Area area) method in STKUtil, instead of

[@cms.newBar paragraph="${stk.asStringList(def.mainArea.paragraphs)}" /]

we could do (provided the new tags/directives take a List<String> property instead of a comma-separated String)

[@cms.newBar paragraph=stk.getAllowedParagraphs(def.mainArea) /]

Generated at Mon Feb 12 07:28:26 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.