Enhancement
(User-visible)
Detail
#28144
Display button line via template, no more button lines in administration views
New components have all commands either in the toolbar or in the burger menu. Only old administration views still use button lines.
Standard edit views should only have button lines when they are opened in dialogs.
In the templates for forms and layouts, a button line can now be displayed via an option. This means that button lines can also be displayed in custom dialogs.
Code migration
If layout XMLs were created "manually" in the application without the layout editor to display button lines, these layout XMLs must be adapted:
- The tag <buttonbar/> (or <component class="com.top_logic.knowledge.gui.layout.ButtonComponent"/> or <component class="com.top_logic.knowledge.gui.layout.DefaultButtonComponent"/>) must be removed.
- The reference to a ButtonComponent from a component must be removed: buttonComponent="..."
- Instead, the option buttonbar="true" must be set on the component where a button line is to be displayed.
The administration views "Tech. Administration > Views", "Administration > Monitor > Performance monitor" and "Administration > Monitor > Performance trend" have been removed.
Test
- Configured "User settings" dialog now has a button bar.
- Administration views no longer have a button bar.
- Configure form with button bar.