Re: ERJasperReports
Re: ERJasperReports
- Subject: Re: ERJasperReports
- From: Theodore Petrosky <email@hidden>
- Date: Fri, 26 Oct 2012 04:55:00 -0700 (PDT)
This worked for me:
NSMutableArray<?> accplsh = new NSMutableArray(checklist.accomplishments());
ERXArrayUtilities.sortArrayWithKey( accplsh, "orderInt", null); //not important for example
ERJRFoundationDataSource accomplishDataSource = new ERJRFoundationDataSource((NSArray<? extends NSKeyValueCodingAdditions>) accplsh);
parameters.put("accomplishments", accomplishDataSource);
then in iReport accomplishments is a parameter of type: java.lang.Object
the subreport has a Data Source Expression : $P{accomplishments}
and it worked.
Ted
--- On Fri, 10/26/12, [Pyramide Ingenierie] Bruno WIESEN <email@hidden> wrote:
> From: [Pyramide Ingenierie] Bruno WIESEN <email@hidden>
> Subject: ERJasperReports
> To: "email@hidden" <email@hidden>
> Date: Friday, October 26, 2012, 6:16 AM
> Hi,
> I currently try to use the wonder framework
> ERJasperReports, everything was ok until i try to create a
> sub report that uses a new datasource…
> Here is what I do:
> ERJRFoundationDataSource
> livclisDataSource = new ERJRFoundationDataSource(fSession.fMenuClients.fEditedFactureCli.livclisSortedByDateLiv());
> parameters.put("livclis",
> livclisDataSource);
> In iReport, I created a
> parameter (type Object) in my master report and I set it as
> the datasource for the sub report… The problem is that my
> report is no more generated since then… Safari keeps
> loading for hours...
> Is there a log
> ? What can be wrong
> ?
> Best
> Regards,
> Bruno WIESEN..................................................................Bruno WIESEN
> email@hidden OS Software
> Developer
> Pyramide Ingenierie
> sprl
> Tel: +32 87 292130188 rue de
> Liege
> Fax: +32 87 292139B-4800 Verviers
> Mail: email@hidden..................................................................
>
>
>
> -----Inline Attachment Follows-----
>
>
> _______________________________________________
> Do not post admin requests to the list. They will be
> ignored.
> Webobjects-dev mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden