Hi @asshleyymariei
Thank you for your comment
I know, that this is possible. My question was, if JMix does so !
My call to the report is
Report report = getReportByCode("AC2");
if ( report != null ) {
Set<Account> accounts = accountsDataGrid.getSelectedItems();
uiReportRunner.byReportEntity(report)
.withOutputType(ReportOutputType.PDF)
.withParametersDialogShowMode(ParametersDialogShowMode.YES)
.addParam("Accounts", accounts ) // Parameter alias
.runAndShow();
}
I don’t see any access to the JasperFillManager
…
After reading, my comment, I found a workaround
uiReportRunner.byReportEntity(report)
.withOutputType(ReportOutputType.PDF)
.withParametersDialogShowMode(ParametersDialogShowMode.YES)
.addParam("Accounts", accounts ) // Parameter alias
.addParam(JRParameter.REPORT_LOCALE, getLocale())
.runAndShow();
But I think, JMix should set this locale by default already
Regards
Felix