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

Add JSP Tag for new script resolution

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Scripting JSP-Taglib 2.0.6
    • Scripting
    • None

    Description

      SLING-585 brings new Script/Servlet resolution API to find an explicitly named script according to a resource type hiearchy.

      This functionality should be reflected in a new JSP tag, e.g. along the lines:

      <sling:call script=... resource=... resourceType=... noResourceType=.... />

      where:

      script is a path to a script
      resource is a resource whose resource type hierarchy is used to resolve the script
      resourceType is a resource type hierarchy to resolve the script
      noResourceType prevents using resource type hiearchy if set to true (default: false)

      If neither resource nor resource type are declared, the script is resolved according to the type hierarchy of the request's resource.

      Attachments

        Activity

          People

            cziegeler Carsten Ziegeler
            fmeschbe Felix Meschberger
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: