Hi @asshleyymariei
Thank you for your comment ![:smiling_face_with_three_hearts: :smiling_face_with_three_hearts:](https://forum.jmix.io/images/emoji/twitter/smiling_face_with_three_hearts.png?v=12)
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 ![:open_mouth: :open_mouth:](https://forum.jmix.io/images/emoji/twitter/open_mouth.png?v=12)
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 ![:smirk: :smirk:](https://forum.jmix.io/images/emoji/twitter/smirk.png?v=12)
Regards
Felix