enhancement
Currently, you can define CRUD (Create-Read-Update-Delete) operations for object types by defining a basic view (table, tree, grid) and configuring the corresponding Create/Delete dialogs and buttons.
Improvement
It would be better if you could define the CRUD view directly from a template and customize it later if necessary. For example, you could select “Table (CRUD)” and get a table with a create dialog and a delete command that deletes the selected row.
For a grid component (which is inherently designed for editing), these functionalities should always be generated by default. For Tree/Table, this could be optional (either Table or Table (CRUD)).
Test
- /com.top_logic.demo/src/test/java/test/com/top_logic/demo/scripted/layout/inapp/templates/TestTableWithDialogs.script.xml