JavaScript: Support dynamic scopes
----------------------------------
Key: SLING-165
URL: https://issues.apache.org/jira/browse/SLING-165
Project: Sling
Issue Type: Improvement
Components: Scripting
Reporter: Felix Meschberger
Assignee: Felix Meschberger
Fix For: 2.0.0
By default Rhino does not support dynamic scopes. This means host objects may
not be shared and instances of them bear no reference to the actual scope but
retain the original scope of when the host object was defined. By enabling the
dynamic scope feature in Rhino, this may be fixed.
This is partcularly important in our web application environment, where we
setup global host objects which are used by many requests and should be able to
refer to the currently "active" objects in the request.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.