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

Parametrized locale setting


markusin77

Recommended Posts

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 appreciated

thanks

regards Markus
 

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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