Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
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
- is related to
-
SLING-8737 Add support for lazily-evaluated bindings
- Closed
- relates to
-
SLING-8922 Override all the PageContext methods and delegate to the wrapped context
- Closed
- links to