Major
Nice to have
Bugfix
Major
Enhancement
With ConfigurationStorageMapping there is already a StorageMapping to define data types that store ConfigurationItem`s in model attributes. However, these do not get an automatic GUI and the Java binding is suboptimal because the getters and setters only get the type `ConfigurationItem instead of the configured "concrete" configuration type.
Application
Definition of a configuration datatype:
#!xml <datatype name="DemoVec" kind="Custom" db_type="string"> <annotations> <config-type value="CONFIGURATION"/> </annotations> <configuration-storage config-interface="com.top_logic.demo.model.struct.DemoVec" /> </datatype>.
Here, automatic GUI binding is done via config-type CONFIGURATION and persistence mapping is done via configuration-storage. The config-interface sub-configuration specifies the "concrete" configuration type to be stored.
Test
- Attribute offset in tl-demo