jmix icon indicating copy to clipboard operation
jmix copied to clipboard

Ability to declaratively show the DynamicAttr Category on the UI layout when using formLayout container

Open vfadeevGit opened this issue 1 year ago • 3 comments

Use-case The developer defines a series of dynattributes for some Entity and adds the facet to the UI descriptor file. When Jmix generates UI components in the application runtime there is no way to show the name of the category associated with specific dynattribute. This can only be done programmatically. Feature proposal Add the possibility to declaratively add the category name of the dynattribute in the layout via the view descriptor file.

vfadeevGit avatar Sep 05 '24 06:09 vfadeevGit

DynAttribute Group name Anticipated result in the application runtime

vfadeevGit avatar Sep 05 '24 06:09 vfadeevGit

Add the possibility to declaratively add the category name of the dynattribute in the layout via the view descriptor file.

This is may be possible only if an entity contains a single dynamic attribute category, otherwise we need to know each category name, which goes agains dynamic attribute concept.

Also, we need to implement generic logic of handling message placeholders.

glebfox avatar Sep 06 '24 06:09 glebfox

As an option, implement a setting so that it will be a separate formLayout per Category with caption. Additionally, define before/after component to insert a formLayout.

glebfox avatar Sep 13 '24 06:09 glebfox