Cernunnos Manual


${jexl()}

Description:

Evaluates the specified JEXL expression and returns the result. All current request attributes will be visible.

Reagents:

Name XPath Description Reagent Type Expected Type Required
CACHE @cache A shared Map to cache items in. The default is the value of the 'Attributes.CACHE' request attribute. PHRASE java.util.Map No
CACHE_MODEL @cache-model Specify either NONE, ONE, or ALL. PHRASE java.lang.String No
EXPRESSION descendant-or-self::text() A valid JEXL expression. PHRASE java.lang.String Yes

Examples:

Writes 'Hello World!' to System.out:

 
       
        <echo>${jexl('Hello' + ' World!')}</echo>