BF [2632377] Jasper locale different on swing than zkwebui

This commit is contained in:
Heng Sin Low 2009-04-27 06:24:30 +00:00
parent cdadff0a11
commit 51418f8a93
1 changed files with 77 additions and 75 deletions

View File

@ -46,6 +46,7 @@ import javax.naming.InitialContext;
import javax.naming.NamingException;
import net.sf.jasperreports.engine.JRException;
import net.sf.jasperreports.engine.JRParameter;
import net.sf.jasperreports.engine.JasperCompileManager;
import net.sf.jasperreports.engine.JasperExportManager;
import net.sf.jasperreports.engine.JasperFillManager;
@ -460,6 +461,7 @@ public class ReportStarter implements ProcessCall, ClientProcess
Language currLang = Env.getLanguage(Env.getCtx());
params.put("CURRENT_LANG", currLang.getAD_Language());
params.put(JRParameter.REPORT_LOCALE, currLang.getLocale());
// Resources
File resFile = null;
if (reportPath.startsWith("attachment:") && attachment != null) {