Felix Meschberger wrote:

Rethinking it, I wthink we should not add all SlingBindungs as request
attributes. If we place anything in a request attribute it would be the
complete SlingBindings object (map).

The javax.script.Bindings is currently set as a request attribute. I think I'll change that to the SlingBindings object.

We should then try to enhance the sling:defineObjects tag to support
mapping more properties from the SlingBindings object as local variables
in the script. The most notable such object would be the
SlingScriptHelper, which we should define as a variable of name "sling"
as in the other scripting languages.
That's already implemented :)


Conversely we might drop support for object mapping from the
sling:defineObjects tag. WDYT ?
Yes, I think this doesn't provide that much help. So I'll remove it.

Carsten

--
Carsten Ziegeler
[EMAIL PROTECTED]

Reply via email to