Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Learn more about these objects on Rendering context objects.

Anchor
exposing-components
exposing-components

Exposing components

You can expose (custom) components to the models in the module's configuration. A typical use case is adding Templating functions. If you want to use cmsfn, you have to configure it under exposedComponents :

...

exposedComponents

optional

The exposed components configuration node can be omitted.

<object-name>

required

An arbitrary name of an exposed object

name

required

The name of the object which will be used to reference it.

componentClass

required

A fully qualified class name of the exposed object.

Anchor
class-filter
class-filter

Class filter

The class filter is one of the options with which you can limit the access to the Java API.

...

The value of the class property has to be a fully qualified class name of the class implementing  jdk.nashorn.api.scripting.ClassFilter  .

Anchor
engine-options
engine-options

Nashorn engine options

Use the engineOptions to configure the options passed to Nashorn when it is initialized.

...