Uploaded image for project: 'Magnolia Standard Templating Kit (closed)'
  1. Magnolia Standard Templating Kit (closed)
  2. MGNLSTK-584

Cleaner way to pass paragraph lists to the newBar tag

    XMLWordPrintable

Details

    • New Feature
    • Resolution: Fixed
    • Minor
    • 1.3
    • None
    • base system
    • None

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

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                gjoseph Magnolia International
                gjoseph Magnolia International
                Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: