Class ReportsMenuConfigurer

java.lang.Object
io.jmix.reportsflowui.ReportsMenuConfigurer

@Component("report_ReportsMenuConfigurer") public class ReportsMenuConfigurer extends Object
Conditionally makes the report_ReportTableView menu item visible at application startup.

The item is hidden in the module's menu.xml by default (visible="false") and is shown only when jmix.reports.client.show-report-table-view-in-menu=true is set in the application properties.

  • Field Details

  • Constructor Details

    • ReportsMenuConfigurer

      public ReportsMenuConfigurer()
  • Method Details

    • onApplicationStarted

      @EventListener(org.springframework.boot.context.event.ApplicationStartedEvent.class) public void onApplicationStarted()
      Reveals the report_ReportTableView menu item when the corresponding property is enabled. Runs once after the application context is fully started.