2001 JI Open Discussion Posted August 29, 2006 Share Posted August 29, 2006 By: Melissa Levitt - melissal Scriptlets 2003-12-10 14:32How 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:50Extends JRDefaultScriptlet and set your class as scriptlet in ireport (report properties). Giulio By: Melissa Levitt - melissal RE: Scriptlets 2003-12-11 07:35Thank 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 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