Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-9674

Allow SlingHttpServletRequest based adaptations for ChildResourceInjector

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Sling Models
    • None

    Description

      The ChildResourceInjector always returns one/multiple Resource objects which makes it impossible to use those return values with another Sling Model requiring the adaptable SlingHttpServletRequest.
      A solution from ACS Commons introduced https://adobe-consulting-services.github.io/acs-aem-commons/features/sling-model-injectors/child-resource-from-request/index.html in https://github.com/Adobe-Consulting-Services/acs-aem-commons/pull/1920. There should be a solution built into Sling which allows for easier Sling Model aggregation.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              kwin Konrad Windszus
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: