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

ResourceRuntimeExtension: Allow to pass arbitrary options a request attributes via data-sly-resource

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • Scripting HTL Engine 1.0.48-1.3.1
    • None
    • Scripting
    • None

    Description

      Currently it is only possible to pass parameters to another script/servlet when using data-sly-resource with the options to modify the selector (https://github.com/apache/sling-org-apache-sling-scripting-sightly/blob/master/src/main/java/org/apache/sling/scripting/sightly/impl/engine/extension/ResourceRuntimeExtension.java). It would be good if either all unknown options or only those with a specific prefix would be passed as request attributes to the other script/servlet.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated: