jmix
jmix copied to clipboard
UiReportRunner should not display report parameters window if all parameters are hidden
Jmix: 1.3.4
- Create any report with a single report parameter
- Make this parameter hidden
- Run the report using
UiReportRunner
:
uiReportRunner.byReportCode("report1")
.withParametersDialogShowMode(ParametersDialogShowMode.IF_REQUIRED) //default behavior
.runAndShow();
ER: no report parameters dialog will be displayed
AR: empty parameters dialog displayed
See forum topic