Page History
...
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
:
...
heading | 0 |
---|---|
multiple | false |
enableHeadingAttributes | false |
enableSorting | false |
class | m5-configuration-tree |
enableHighlighting | false |
:
...
Mgnl f |
---|
...
Mgnl f |
---|
...
Mgnl f |
---|
...
Mgnl n |
---|
...
Mgnl n |
---|
...
Mgnl n |
---|
...
Mgnl p |
---|
...
cmsfn
...
Mgnl p |
---|
...
Properties:
| optional The exposed components configuration node can be omitted. |
| required An arbitrary name of an exposed object |
| required The name of the object which will be used to reference it. |
| required A fully qualified class name of the exposed object. |
...
The class filter is one of the options with which you can limit the access to the Java API.
...
heading | 0 |
---|---|
multiple | false |
enableHeadingAttributes | false |
enableSorting | false |
class | m5-configuration-tree |
enableHighlighting | false |
...
Mgnl f |
---|
...
Mgnl n |
---|
...
Mgnl n |
---|
...
Mgnl p |
---|
...
The value of the class
property has to be a fully qualified class name of the class implementing jdk.nashorn.api.scripting.ClassFilter
.
...
Fo instance, you can limit the access to Java API by disabling Nashorn extensions or by implementing a ClassFilter.
...
heading | 0 |
---|---|
multiple | false |
enableHeadingAttributes | false |
enableSorting | false |
class | m5-configuration-tree |
enableHighlighting | false |
...
Mgnl f |
---|
...
Mgnl n |
---|
...
Mgnl n |
---|
...
Mgnl p |
---|
...
--no-java
...
Mgnl p |
---|
...
Properties:
| optional The engine options configuration node can be omitted. |
| required An arbitrary name of an exposed object |
| required The name of the object which will be used to reference it. |
| required A fully qualified class name of the exposed object. |
...