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

ParametersInfo annotation present on HstComponent superclass does not work

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Normal
    • Resolution: Duplicate
    • None
    • None
    • None

    Description

      Better that the annotation scanning is also done on superclasses if not present on the current class. At least this should be improved on

      ParameterUtils
      DocumentParamsScanner
      HstParameterInfoProxyFactoryImpl
      ContainerItemComponentResource
      DocumentUtils

      because they all use

                  ParametersInfo info = componentClass.getAnnotation(ParametersInfo.class);
      

      which does not scan super classes / interfaces. Utility can be added to org.hippoecm.hst.util.AnnotationsScanner which now only works for methods and not for classes

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: