major
minor
minor
#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.
defect
A table configured within the app does not have an Excel export button, nor can one be added to the table.
Code Migration
Explicitly Configure Export
In both tables and grids, an Excel export must now be explicitly configured. When creating a new component using the in-app wizard, the component automatically receives an export command that can be configured. Existing components must be adjusted accordingly. To do this, you can either add an export button in-app or manually add such a command to the exported layout XML.
In layouts that use the template com.top_logic.element/grid.template.xml or com.top_logic.element/treegrid.template.xml:
<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. Subclasses must now extend TableComponent directly. Overridden methods related to exporting must be implemented in a subclass of the export command (subclass of com.top_logic.layout.table.export.ExcelExportHandler).
- The ExportAware interface of GridComponent has been removed. Overridden methods related to exporting must be implemented accordingly in a separate export command (extending from StreamingExcelExportHandler).
Test
- Configure the new table component.
- The component must have the "Export to Excel" command directly.
- In "Edit View," the export settings must be configurable.