Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: add some .esp info

Sling's scripting variables and script languages

Table of Contents

Common scripting variables

...

For more options of the sling taglib see the tag lib definition file.

ESP

Sling's ESP (ECMAScriptPages) language is based on Mozilla's Rhino javascript interpreter.

Scripts are transformed by a simple FilterReader, in the org.apache.sling.scripting.javascript bundle.

There's a number of .esp script examples in Sling's integration tests and samples.

Here's a few of the objects and methods available in an ESP file:

...