Jump to content
We've recently updated our Privacy Statement, available here ×

Japserserver 3.7 CE on glassfish V3, LOCALE


maddie090

Recommended Posts

I'm running jasperserver 3.7 CE on glassfish V3.

 

If i schedule a report i can set my locale to "dutch"Nederlands.

But the pdf report is setting the dates to English format.

 

When i run the report in ireport i get the wanted dutch presentation of my dates.

The manual mentions some .properties files inside "WEB-INF\bundle" directory that can be manipulated. But this whole "bundles" subdir is not in my jasperserver directory?

I deployed jasperserver CE via the buildomatic installer.

Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

WTF?

 

I just notice some strange things:

A>

1. i create a parameter $P{date} with the expression new java.util.Date() and Parameter Class "java.lang.String"

2. I put this parameter inside an text-field with the patern mask "EEE, d MMM yyyy HH:mm:ss Z"

3. This is rendered as "Thu Jul 08 10:46:15", which is the English presentation and not what i want.

 

B>

1. i select inside iReport from Palette - Tools the Current Date object

2. i place it inside my report

3. Text Field expression is "new java.util.Date()", Expression Class is java .util.Date, Pattern is "EEE, d MMM yyyy HH:mm:ss Z"

 

I run the report and it is rendered as "donderdag 08 juli 10:46:15", and that is what i want it to be.

 

Running the report from jasperserver gives me the same values for both fields, that is 1 English date and 1 Dutch Date.

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...