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

Is it possible to know how pages will be?


prancius

Recommended Posts

Hello,

 

Is it possible to know how pages will be?

 

I need to popup custom dialog to user if no pages in report.

 

I am showing report like that:

 

Map<String,Date> params = new HashMap<String,Date>();

params.put("dateFrom",this.dateFrom.getDate());

params.put("dateUntil",this.dateUntil.getOneDayFuture());

 

jasperPrint = JasperFillManager.fillReport(reportName,params,DBConnection.getConnection());

 

When no pages i got to message boxes "The document have no pages"

 

Why it message box appears twice?

 

Is it some way to change message, i want to use other language. I now i can change in source but maybe there are some method?

 

Thanks a lot

Post edited by: prancius, at: 2006/09/03 20:17

Link to comment
Share on other sites

  • Replies 3
  • 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...