[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: |
|
||||||||
| 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) /] |