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

Make SimpleContentRewriter#createLink protected to improve extensability

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • 3.1.0
    • 3.2.0
    • None
    • None

    Description

      The method org.hippoecm.hst.content.rewriter.impl.SimpleContentRewriter#createLink is now private. It creates the HstLinks for the internal links in the rewritten rich text. In case of a Plain Rest service that exposes rich text as html, these links can be different than the default Rest link that is produced (rest mount path + path to the node in the repository).

      If this method is made protected we give the opportunity to override just this bit of logic, which makes adapting the internal links as they should be in the Rest service easily possible.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              bleunis Bert Leunis (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: