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 |
|
|
This operator indicates usage of field name |
|
|
This operator concats two subexpressions |
|
|
Use it when you want to get one of fields of corresponding entity (see ModelDefinitionOverview-belongsTo) |
|
static text
Static text in expression, ex. 'hello'
'#'
This operator indicates usage of field name, ex. "#userName"
'+'
This operator concats two subexpressions, ex. "#userName + '(' + #userLogin + ')'"
'[' and ']'
use it when you want to get one of fields of corresponding entity (see ModelDefinitionOverview-belongsTo), ex. "#product['name']"