Jump to content
Changes to the Jaspersoft community edition download ×

I18N - how to use


lecitoyen

Recommended Posts

I need to build a rapport with a bundle "fr".

Can someone explain me hoe define a variable, parameter or field name to work with a bundle?

 

What I do ?

1- define a bundle _fr

2- I try to use this bundle with a parameter :

 

Code:

default value expression = ((java.util.ResourceBundle)REPORT_RESOURCE_BUNDLE.getValue()).getString("tst"«»)

3- I save the .jrmxl

 

But I don't receive a .jasper.

 

i receive the follow message :

Code:
[code]

symbol : variable parameter_REPORT_RESOURCE_BUNDLE
location: class OVERVIEWGROUPS
value = (java.lang.String)(((java.util.ResourceBundle)parameter_REPORT_RESOURCE_BUNDLE.getValue()).getString("tst"«»));
^

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Popular Days

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...