Jump to content
Changes to the Jaspersoft community edition download ×

Load REPORT_RESOURCE_BUNDLE parameter at runtime


tremal

Recommended Posts

 Hi, I have the next code

ResourceBundle resourceBundle = ResourceBundle.getBundle("com.package.langs");[/code]
rep.addParameter(JRParameter.REPORT_RESOURCE_BUNDLE, resourceBundle);[/code]

But in the execution, always this parameter is't read and all my properties tag appears like "null". The langs.properties are in the package, but continues without works.

Where can be the problem? Thanks

Code:
ResourceBundle resourceBundle = ResourceBundle.getBundle("com.package.langs");rep.addParameter(JRParameter.REPORT_RESOURCE_BUNDLE, resourceBundle);[/code]
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...