Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
Description
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.
Attachments
Issue Links
- is blocked by
-
SLING-1422 NPE when a script is called without a request binding
- Closed