Major
Nice to have
Bugfix
Major
Enhancement
Detail
#23319
Use Create functionality independently from `AbstractCreateCommandHandler
To create a new grid row inline in the grid, so far you need an AbstractCreateCommandHandler to create the object final from the form data of the grid. However, the API of CommandHandler is not used for this, but it is called into a public method defined only in AbstractCreateCommandHandler.
Improvement
Own API that can be used e.g. from the grid to create an object from form data.
Application
- Own interface com.top_logic.layout.form.component.CreateFunction.createObject(LayoutComponent, TLObject, FormContainer, Map<String, Object>) independent of AbstractCreateCommandHandler.
- Independent implementation com.top_logic.element.meta.gui.FormObjectCreation to generically create an object from form data.
Test
- See #23318
Code migration
- com.top_logic.element.layout.grid.GridComponent.startCreation(String, TLClass, CreateFunction, ContextPosition, TLObject) now requires TLObject as context object.