Expressions

!


5. Expressions

Expression is text that defines what should be displayed. Expressions is used by system in many occasions (like window header, tree node etc.) Expression uses field names defined in entity model.

5.1. Available expression elements

expression element

description

example

static text

Static text in expression

'hello'

#

This operator indicates usage of field name

"#userName"

+

This operator concats two subexpressions

"#userName + '(' + #userLogin + ')'"

[ and ]

Use it when you want to get one of fields of corresponding entity (see belongsTo field)

"#product['name']"

For more information about available syntax elements please see section "Language Reference" of Spring Expression Language (SpEL) documentation