Jump to content
JasperReports Library 7.0 is now available ×

Drop Down select in ireports/jasperserver


Recommended Posts

I would like a drop down select box be used, but unsure what examples I can find in jasperreports-project.


Basically i want to have all countries in a drop down; countries chosen from my database.


I assume this can also apply to checkboxes too,

like a bunch of checkboxes in ireports to choose multiple countries; (again countries chosen from same database table).


Once user submits the parameter data then u can use those values in report query... WHERE $X{IN, 'countries', javaVectorParameter }


Kinda shaky on trying to get this to work.

Post edited by: arianhojat, at: 2007/10/11 13:59

Link to comment
Share on other sites

  • 2 weeks later...
  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Hi - were you able to find a way for this?


If you have JasperServer version, then it appears you can use the input control with a single-select-query to set this.


I am using iReports, do you think there is a way for this?



Link to comment
Share on other sites

I ended up just saying to myself i could all the param stuff I want easily in php.

and send params of html form to java which will output the report.


If this is alright, i can send you general code to do this later.

It basically is a very ghetto version of JasperServer but serves my needs if you know how to make javascript validation rules, php validation rules, and make things like date popups and dynamic select drop downs.

Link to comment
Share on other sites

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