• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: ERJasperReports
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ERJasperReports


  • Subject: Re: ERJasperReports
  • From: Theodore Petrosky <email@hidden>
  • Date: Wed, 31 Oct 2012 06:58:40 -0700 (PDT)

how are you creating the Report?

I saw an error message like this if I tried to make a ERJRFoundationDataSource without first creating a new EC and locking it.

are you following Kieran's example? or rolling your own?


--- On Wed, 10/31/12, [Pyramide Ingenierie] Bruno WIESEN <email@hidden> wrote:

> From: [Pyramide Ingenierie] Bruno WIESEN <email@hidden>
> Subject: Re: ERJasperReports
> To: "Theodore Petrosky" <email@hidden>
> Cc: email@hidden
> Date: Wednesday, October 31, 2012, 9:47 AM
> Hello,
> I just found this log:
> [2012-10-31 14:42:16 CET] <WorkerThread0>
> Exception while getting method:
> editingContextShouldFetchObjects on
> class:er.extensions.eof.ERXDefaultEditingContextDelegate[2012-10-31 14:42:16 CET] <WorkerThread0>
> java.lang.NoSuchMethodException:
> er.extensions.eof.ERXDefaultEditingContextDelegate.editingContextShouldFetchObjects(com.webobjects.eocontrol.EOEditingContext,
> com.webobjects.eocontrol.EOFetchSpecification)	at
> java.lang.Class.getMethod(Class.java:1605)	at
> com.webobjects.foundation._NSDelegate._delegateMethodForInterfaceMethod(_NSDelegate.java:119)	at
> com.webobjects.foundation._NSDelegate._cachedMethodForName(_NSDelegate.java:102)	at
> com.webobjects.foundation._NSDelegate.respondsTo(_NSDelegate.java:146)	at
> com.webobjects.eocontrol.EOEditingContext.objectsWithFetchSpecification(EOEditingContext.java:4063)…
> Any idea of the
> problem ?
>
> 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..................................................................
>
>
>
>
>
> Le 26 oct. 2012 à 13:55, Theodore Petrosky <email@hidden>
> a écrit :
> 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


  • Prev by Date: Re: MyISAM and Webobjects
  • Next by Date: Strange Googlebot activity
  • Previous by thread: Re: ERJasperReports
  • Next by thread: D2W: getting the "root" pageConfiguration
  • Index(es):
    • Date
    • Thread