Load REPORT_RESOURCE_BUNDLE parameter at runtime

0

 Hi, I have the next code

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

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);
tremal's picture
3
Joined: Aug 8 2012 - 5:13am
Last seen: 7 years 3 months ago

0 Answers:

No answers yet
Feedback
randomness