reportDesign.getContext()); reportContext.putAll(context); UserPrincipal user = getController(context).getApplicationSession() .getPrincipal(); reportContext.putAll(user.getCustomProperties()); reportContext.put(JRParameter.REPORT_LOCALE, getLocale(context)); if (reportDesign.getReportDescriptor().getBeforeAction() != null) { if (!actionHandler.execute(reportDesign.getReportDescriptor() setActionParameter(jasperPrint, context); } catch (JRException | IOException ex) { throw new ActionException(ex);
reportDesign.getContext()); reportContext.putAll(context); UserPrincipal user = getController(context).getApplicationSession() .getPrincipal(); reportContext.putAll(user.getCustomProperties()); reportContext.put(JRParameter.REPORT_LOCALE, getLocale(context)); if (reportDesign.getReportDescriptor().getBeforeAction() != null) { if (!actionHandler.execute(reportDesign.getReportDescriptor()