markusin77 Posted May 21, 2015 Share Posted May 21, 2015 Hello,Is it possible to set the Locale through a String parameter e.g. "de_DE" passed by the user? For me it is not clear, if setting it in a Scriptlet is the correct way.Right now I implemented a Scriptlet class that extends net.sf.jasperreports.engine.JRDefaultScriptlet. I wanted to do this in the method: beforeReportInit(). There I see two setter methods. The method setData() and setVariableValue. Otherwise there is the property parametersMap. In that case the value is a JRFillParameter object, but without constructor.So I am stucked at that point.any suggestion would be appreciatedthanksregards Markus 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