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

Add utilility method to BaseHstComponent to retrieve the default ClientComponentManager

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • 2.03.06
    • 2.03.07
    • None
    • None

    Description

      If a developer wants to access the ClientComponentManager, he should be able to retrieve this through a utility method in BaseHstComponent instead of having to write:

      ComponentManager compManager = (ComponentManager) this.getServletConfig().getServletContext().getAttribute("org.hippoecm.hst.container.HstContainerServlet.clientComponentManager");

      If he did change to have his ClientComponentManager set as a different attr on the servletContext, then he should be able to retrieve the component manager by himself

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: