Simplify Standalone script execution
------------------------------------
Key: SLING-1423
URL: https://issues.apache.org/jira/browse/SLING-1423
Project: Sling
Issue Type: Improvement
Components: Scripting
Reporter: Bertrand Delacretaz
Priority: Minor
Executing a Sling script in standalone mode (i.e. without request/response)
should be as simple as:
Resource = ...
SlingScript script = resource.adaptTo(SlingScript.class);
SlingBindings bindings = new SlingBindings();
...add values to bindings
script.eval(bindings);
Currently this does not work, and we should add tests for that once it works.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.