Widget features

Dynamic evaluation

Web evaluation involves using user input alongside integrator logic. It serves various purposes across multiple components :

  • Menus and toolbars

  • Schematics

  • On-clicks handler on widgets

To evaluate expressions, the web performs theses steps:

  1. Find all dynamic expression placeholder (between ${ and }).

  2. Replace all ${<dynamic content replacement>} available during evaluation. Missing items are replaced by empty strings. JSON structure can be access through . separator (ie. ${user.username}).

  3. Evaluate and retrieve its content for further usage. Should an error occurs, resulting evaluation returns an undefined result.

Evaluation language is JavaScript and supports syntactic sugar such as object?.hypotheticalAccessor.