enhancement
critical
major
minor
minor
Creation of dialogs with arbitrary input fields within the context of a model element (e.g., component model, selection, etc.). Ability to annotate adjustments to these fields using the component model. Evaluation of user input in a transaction function.
Application
"Transaction with Input" dialog template:
The form is defined using a regular model type (with optional form annotation). This model type can contain any annotations. When the form is created, a transient form object is created for the selected model type. There are two script fields: one for initializing the form and the other for the actual transaction. The initialization script can pre-fill the form with values by setting values on the form object. In doing so, it can refer to the context model. The transaction function can access both the form object and the context model. At the time the transaction is running, the form object contains the entries the user has made in the form.
Test
- /com.top_logic.demo/src/test/com/top_logic/demo/scripted/layout/transaction/TestCustomTransaction.script.xml