You have been redirected from an outdated version of the article. Below is the content available on this topic. To view the old article click here.

store()

Usage

store(key, value)

Description
Stores the given value in the current request context under the given key. This method can be used to temporarily save the results of a computation step etc. and is often used to provide some sort of “variables” in the scripting context. See retrieve() for the inverse operation.

Example

${store('users', find('User'))}

Search results for "store()"

store()

Stores the given value in the current request context under the given key. This method can be used to temporarily save the results of a computation step etc. and is often used to provide some sort of “variables” in the scripting context. See retrieve() for the inverse operation.

store(key, value)