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

HstSiteMapItem should have a getScheme() method to expose the hst:scheme property of the hst:sitemapitem node.

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • None
    • 2.24.13, 2.26.01
    • None
    • None

    Description

      The HstSiteMapItem should have a getScheme() method to expose the hst:scheme property of the hst:sitemapitem node.
      It will return the following:

      • if the property is set on the site map item itself, it uses that
      • else it uses the parent site map item's scheme if it has a parent
      • else it uses the mount's scheme.

      if the hst:scheme property is set, but it is left blank, the site map item will default to the default scheme for virtual hosts (currently 'http').

      This will in turn allow linking to create better links to secure site map items and will also allow an easy hstsitemapitemhandler to redirect to https when needed.

      This issue partly solves HSTTWO-1303.

      Attachments

        Issue Links

          Activity

            People

              aschrijvers Ard Schrijvers
              wouterd Wouter Danes (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: