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

HstResponse.getChildContentNames does not return names in the configured order

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Won't Fix
    • 2.05.01
    • 2.10.01
    • None
    • None

    Description

      The method HstResponse.getChildContentNames does not return the names of child nodes in the order specified in the repository. Instead, the names are always returned in alphabetical order. This limits the use of this method to dynamically iterate through all child components, as described at [1].

      Steps to reproduce:
      1. create a component with two child component "b" and "a" (in that order)
      2. use the method described at [1] to include these components in a JSP page by iterating over all child content names

      Expected behavior: component 'b' is included before component 'a'
      Actual behavior: component 'a' is included before component 'b'

      [1] https://wiki.onehippo.com/display/HST2/How+to+iterate+through+all+child+components+in+your+renderer+%28jsp%29

      Attachments

        Activity

          People

            aschrijvers Ard Schrijvers
            mdenburger Mathijs den Burger (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: