Original issue moved from:
https://sourceforge.net/tracker/index.php?func=detail&aid=1476976&group_id=36382&atid=416706
Consult the original issue for any attachments.
[ 1476976 ] New Event in Scriptlet Framework - afterDetailFetch
Submitted By: Shireesh Anjal - anjalshireesh
Date Submitted: 2006-04-26 07:29
Last Updated By: anjalshireesh - Settings changed
Date Last Updated: 2006-04-26 07:53
Number of Comments: 2
Number of Attachments: 2
Assigned To: Nobody/Anonymous
Priority: 5
Summary:
New Event in Scriptlet Framework - afterDetailFetch
Hi,
We are planning to use iReport and JasperReports for report generation. While evaluating the features of these products vis-Ã -vis the reporting requirements,
we have come across a generic business requirement which requires some changes in JasperReports.
The requirement is for a scenario wherein the data source may be supplying data from delimited flat files (CSV, pipe separated, etc) or from message queues e.g. MSMQ.
The requirement is for the report engine to be able to skip certain records from the data file based on a boolean condition (expression involving fields, parameters and variables) during report generation. (This skipping can not be done in the data source.)
Based on discussions in different forums and searching in forum archives we have come to know that this is a generic requirement that will add value to JasperReports as well.
After analyzing different approaches for achieving this, we have come to a conclusion that this requires an enhancement in the scriptlet framework– a new generic event afterDetailFetch in the scriptlet and exposing the JRCalculator object in scriptlet.
We request you to add this feature to JasperReports.
Please find attached the document zip file - jasper_feature_request that details the feature request and the business case.
A zip file - jasper_feature_request.zip - will be attached later, that contains:
1. skip_record_example – This directory contains example jasper templates and a java program to demonstrate the feature request. 2. jasperreports-1.2.0 – This directory contains the modified JasperReports sources and the jar file jasperreports-1.2.0.jar built with the modified sources.
(We have tested a few business reports with the modified sources, and it is working fine.)
Thanks and regards,
Comments
Date: 2006-04-26 07:53
Sender: anjalshireesh
Logged In: YES
user_id=1489897
uploading the feature request document - jasper_feature_request.pdf
Date: 2006-04-26 07:51
Sender: anjalshireesh
Logged In: YES
user_id=1489897
Attaching modified sources and example
Attached Files:
Name
jasper_feature_request.pdf, Feature Request Details
jasper_feature_request.zip, Modified sources and the modified jar file
Recommended Comments