eshwarkoti Posted June 6, 2011 Share Posted June 6, 2011 Hi AllIam working with Struts , Ejb and Jasper reports. i need to generate reports by mapping user created filter parameters.How to pass more number of dynamic parameters to jasper reports through java. These parameters can create by user . so the user can add any number of parameters through jsp form page. how to pass these user created dynamic filter parameters from java to jasper reports. ThanksEshwar.Post Edited by eshwarkoti at 06/06/2011 09:21 Link to comment Share on other sites More sharing options...
thangalin Posted June 9, 2011 Share Posted June 9, 2011 You can use two lists (use java.util.List). The first list contains the names of the parameters. The second list contains the values of the parameters. See also the Report Integration Framework that illustrates how to pass these parameters generically. http://www.whitemagicsoftware.com/software/java/rif/ -- Read chapter 15 of Indispensable, a book on JasperReports, available at: http://www.whitemagicsoftware.com/books/indispensable/ Link to comment Share on other sites More sharing options...
eshwarkoti Posted June 10, 2011 Author Share Posted June 10, 2011 Hi thangalin .. Thank you for your replyIam little bit confusing about this. Can you please send me sample code.Actually i need to iterate the all parameter fields which are dynamically created by user from jsp (but those parameters are not configured in ireports) through ejb service bean to jasper reports. ThanksEshwar Post Edited by eshwarkoti at 06/10/2011 11:28 Link to comment Share on other sites More sharing options...
sottersen Posted March 3, 2017 Share Posted March 3, 2017 Did you ever get an answer for this? I need to do something very similar and haven't found any reference on how to do it.Thanks 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