gregg.dale_1 Posted June 27, 2018 Share Posted June 27, 2018 We have locale property bundles for our reports. When a report is run for a specific locale, date patterns, currency patterns and column headings and labels are determined by these property bundles. When we display the reports, this works great. It also works when we export to .PDF, .PPT, and .XML, but not when we export to .XLSX, .XLS or .CSV.Does anyone know why this would be? Link to comment Share on other sites More sharing options...
hozawa Posted June 27, 2018 Share Posted June 27, 2018 There's a property to specify patterns like date format. Defaults in these properties probably is overwriting the resource properties.e.g.http://jasperreports.sourceforge.net/config.reference.html#net.sf.jasperreports.xls.date.patternI'm not sure if it's possible to use locales on jasperreports.properties file.jasperreports.properties file is located under webapps/jasperserver/WEB-INF/classes/jasperreports.properties Link to comment Share on other sites More sharing options...
gregg.dale_1 Posted June 29, 2018 Author Share Posted June 29, 2018 Actually, the issue is larger in scope than just patterns. The report, when displayed, shows the column heading names and labels as defined in the appropriate locale property file, but when exported to xlsx and csv, it intermittently shows the default property values instead. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now