Major
Detail
Detail
#27027
Declarative forms: SelectField disappears after upload if option list depends on mandatory property
#27042
MaintenanceJspBase should write to the log first, then to the client, instead of the other way around.
Bugfix
An in-app configured table does not have an Excel export button, nor can one be added to the table.
Code migration
Configure export explicitly
In both tables and grids, an Excel export must now be explicitly configured. When a new component is created via the in-app wizard, the component automatically receives an export command that can be configured out. Existing components must be adapted accordingly. For this purpose, either an export button can be added in-app, or such a command can be added manually in the exported layout XML.
In layouts that use the com.top_logic.element/grid.template.xml or com.top_logic.element/treegrid.template.xml template:
<buttons> <button id="exportExcelGrid" class="com.top_logic.layout.table.export.StreamingExcelExportHandler" /> </buttons>
In layouts that use the com.top_logic/table.template.xml template:
<buttons> <button id="exportExcel" class="com.top_logic.layout.table.export.ExcelExportHandler" /> </buttons>
Remove overrides
- The OfficeExportAccessorTableComponent component has been removed. Derivatives must now derive directly from TableComponent. Overridden methods involving export must be converted to a derivative of the export command (derivative of com.top_logic.layout.table.export.ExcelExportHandler).
- The ExportAware interface of GridComponent has been dropped. Overridden methods that affect the export must be converted accordingly into a separate export command (derivation from StreamingExcelExportHandler).
Test
- Configure new table component.
- The component must have the command "Export to Excel" directly.
- In "Edit view" it must be possible to adjust the settings of the export.