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

Printing message after reaching the maximum pages


ndbabu

Recommended Posts

Hi,

    Is it possible to print some message after reaching the maximum number of pages and complete the report filling?

I already know about the governor, which will through Exception after reaching the maximum number of pages. Instead it should print some message after maximum number of pages and complete the report filling. Is this possible in the latest version of JasperReports?

 

Thanks & Regards

--ndbabu (Dilli Babu N)

Link to comment
Share on other sites

  • Replies 7
  • Created
  • Last Reply

Top Posters In This Topic

Hi,

 

Only the JasperReports Ultimate Guide has documentation about governors, but if you look at the source code of JR and see how the two built-in governors are created and registered, you will understand what you need to do in order to create similar governors.

Note that governors are just scriptlets that can be applied accross all reports in a JR deployment.

 

I hope this helps.
Teodor

 

Link to comment
Share on other sites

Hi, I implemented the scriptlet to control the maximum number of pages by cleaning the data source and then print the message after the maximum page. But this is failing in case cross tabs report. Any suggestions for stopping the report filling after certain number of pages in case of cross tabs report?

 

Post Edited by ndbabu at 09/30/2009 17:27

Link to comment
Share on other sites

Hi,

     I implemented the scriptlet to control the maximum number of pages by cleaning the data source and then print the message after the maximum page. But this is failing in case cross tabs report. Any suggestions for stopping the report filling after certain number of pages in case of cross tabs report?

 

Thanks & Regards,

--ndbabu (Dilli Babu)

Link to comment
Share on other sites

  • 5 months later...

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