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

Not working report parameter change using contributeParameters


andrey.esaulov

Recommended Posts

I want to form a query string through a Java extension and pass it to the JapserReports parameter before generating report.

I found a similar example (https://community.jaspersoft.com/wiki/parameter-contributors) and connected it as Source files in my report project.

http://i.stack.imgur.com/lfmEK.png

For an experiment, I'm just trying to set a strin gvalue to the $P{GRADES_TABLE_NAME} parameter in the report with parameters.put ("GRADES_TABLE_NAME", "TEST");

But this parameter does not change when generating the Report, it is equal to NULL.

Am I doing something wrong?

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