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

Enhance the pageContext with the values provided by the SlingBindings

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • Scripting JSP 2.4.2
    • Scripting
    • None

    Description

      SLING-8737 brought support for using lazily evaluated bindings. The JSP script engine, however, although sets the SlingBindings as a request attribute, does not do anything else to facilitate the access to the bindings' values. Instead, this is delegated partially to the <sling:defineObjects/> tag. However, this tag has the potential of expanding all values which are provided lazily, irrespective of what values the JSP script being evaluated needs.

      While modifying the <sling:defineObjects/> tag is out of the question, for backwards-compatibility reasons, the JSP engine could make the values provided by the SlingBindings available in the pageContext, if the context hasn't already defined identical attributes.

      Attachments

        Issue Links

          Activity

            People

              radu Radu Cotescu
              radu Radu Cotescu
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m