Jump to content
JasperReports Library 7.0 is now available ×

Recommended Posts

By: Melissa Levitt - melissal

Scriptlets

2003-12-10 14:32

How do I implement and override JasperReport methods such as beforePageInit()? Neither, the JasperReport Guide nor the report examples explain this.

 

 

By: Giulio Toffoli - gt78

RE: Scriptlets

2003-12-10 14:50

Extends JRDefaultScriptlet and set your class as scriptlet in ireport (report properties).

 

Giulio

 

 

By: Melissa Levitt - melissal

RE: Scriptlets

2003-12-11 07:35

Thank you. I had gotten this far and my scriptlet works. Here is my dilemma. I have the following variables and/or calculations:

1) Counter (group count)

2) Total Count (sum of Counter in summary)

3) Percentage (Counter/Total Count calculated in a scriptlet.

 

The Percentage is not calculated properly because I need the calculation to take place after Total Count is complete; however, I need the Percentage to be displayed at the group level. How can I control this?

Link to comment
Share on other sites

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