fviscomi Posted July 21, 2016 Share Posted July 21, 2016 Hi all and thanks for yours answer.I need to pass a list to JasperFillManager.fillReport.I've a class like this:public class DataBean { private String name; private String country; public String getName() { return name; } public void setName(String name) { this.name = name; } public String getCountry() { return country; } public void setCountry(String country) { this.country = country; }public List<String> getdta(){List<> lista=new arraList<String>();lista.add("ss");lista.add("rr"); }} Now I fill the report:JasperFillManager.fillReport( sourceFileName, parameters, beanColDataSource);But in the IReport designer i can choose only string and not list. any suggest is really appreciated.francescoItaly 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