ERJRFetchSpecificationReportTask reportTask = new ERJRFetchSpecificationReportTask(fs, "StudioRevenueReport.jasper", parameters);
fs is a fetchspec. I already have the EO that I want to to a report on. Maybe I am reading too much into this?
public static Callable<File> createBriefReportTask(Brief theBrief) {
String reportDescription = "A report that subtotals revenue by Studio and lists the Movie revenue detail for each Studio";
HashMap<String, Object> parameters = new HashMap<String, Object>();
parameters.put("reportDescription", reportDescription);
parameters.put("userName", "WOWODC Demo");
// Builder pattern for constructor since.
ERJRFetchSpecificationReportTask reportTask = new ERJRFetchSpecificationReportTask(fs, "StudioRevenueReport.jasper", parameters);
return reportTask;
}
I want to pass in 'theBrief' to JasperReports. I guess I could be silly and create a fetchspecification that returns theBrief.
Ted
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (Webobje...@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/webobjects-dev-garchive-31333%40googlegroups.com
This email sent to webobjects-dev...@googlegroups.com