Uploaded image for project: 'Hippo Site Toolkit 2'
  1. Hippo Site Toolkit 2
  2. HSTTWO-3452

Make SimpleContentRewriter#createLink protected to improve extensability

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 3.1.0
    • Fix Version/s: 3.2.0
    • Component/s: None
    • Labels:
      None
    • Similar issues:

      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: