Joget DX 8 Stable Released
The stable release for Joget DX 8 is now available, with a focus on UX and Governance.
...
Since version 3.0.3, a Hash Variable can be used inside another Hash Variable to form a Nested Hash Variable. The syntax for the inner Hash Variable is wrapped by a pair of curly bracket '{' and '}'.
Syntax:
Code Block | ||
---|---|---|
|
#prefix.{prefix.variableKey}# |
Code Block | ||
---|---|---|
|
...
#date.{envVariable.dateFormat}# |
#user.{variable.username}.firstName# |
#form.tableChild.field1[{form.tableParent.childId}]# |
The parsed/returned Hash Variable may cause incompatibility with the current context/environment such as syntax error in a script. Therefore, one may pass in additional parameters into the hash variable declared to escape certain characters.
Before ending a hash variable with a hash "#", add a question mark character "?" followed by the required format. You may include multiple by defining semicolon ";" separated values.
Code Block | ||
---|---|---|
| ||
#envVariable.script?java# |
...