wood burning stoves 2.0*
The moose likes Other Open Source Projects and the fly likes JasperReports:  passing the current item in a list of objects into utility methods Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "JasperReports:  passing the current item in a list of objects into utility methods" Watch "JasperReports:  passing the current item in a list of objects into utility methods" New topic
Author

JasperReports: passing the current item in a list of objects into utility methods

Dorcas Rebanha
Greenhorn

Joined: Apr 04, 2007
Posts: 18
I'm new to JasperReports, so any help is appreciated!

I have a report, allMembersSubreport, with a parameter that is an ArrayList of objects.
<parameter name="membersOnly" class="java.util.List"/>

I have a subreport in the detail band, EachMemberDetail, that must pass each item from the list into various utility methods, to drill down and retrieve info in String format.

Should I pass a subreportParameter into the next subreport? eg. <subreportParameter name="thisMemberDetail">
How should I specify a subreportParameterExpression that is a single item from the "membersOnly" list? Or is there another way to accomplish the goal?

Thanks for any help.

Dorcas
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JasperReports: passing the current item in a list of objects into utility methods
 
Similar Threads
JasperReport sureport inside subreport
sub report not displayed.
Open crystal report in JSP
Query inside Jasper Reports
How to pass Map parameter to a subreport from a main report -----JasperReports