Uploaded image for project: '[Read Only] - Hippo Site Toolkit 2'
  1. [Read Only] - Hippo Site Toolkit 2
  2. HSTTWO-1945

Keep the order of the list of child content names when using reference components

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Normal
    • Resolution: Probably fixed, check next version
    • None
    • Backlog
    • None
    • None

    Description

      See http://hippo.2275632.n2.nabble.com/Order-of-child-content-names-in-referencing-HST-pages-td7117912.html

      When having an HST page based on a common page, the order of the list of child content names is not kept.

      E.g.
      hst:pages/defaultpage has subcomponents header, main, footer.
      hst:pages/home references defaultpage and has only child component main.

      In the corresponding component, the order of this.componentConfig.componentConfiguration.orderedListConfigs is not header, main, footer but main, header, footer.

      This makes it tricky to use dynamic hst:includes in my jsp, like so:
      <hst:defineObjects />
      <c:forEach var="child" items="${hstResponseChildContentNames}">
      <hst:include ref="${child}"/>
      </c:forEach>

      Attachments

        Activity

          People

            aschrijvers Ard Schrijvers
            jhoffman Jeroen Hoffman
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: