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

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

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

        Acceptance criteria

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

                Created:
                Updated:
                Resolved: