Jump to content

how to avoid second plank page


udumanajmeer

Recommended Posts

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

I had a similar problem as I was trying to print a "static list" with subreport elements...  All static was printed as often as entries in the subreport - but the subreport area stayed blank^^

How do you fill your template?

For example:

  1. jasperPrint = JasperFillManager.fillReport(report, params, new JREmptyDataSource());
  2. jasperPrint = JasperFillManager.fillReport(report, null, beanDataSource);
  3. jasperPrint = JasperFillManager.fillReport(report, params, beanDataSource);

I think there are many other ways, but I was filling reports with these three last two weeks...  =)

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