1st watch Kieran K's fantastic example of using JasperReports entitled 
Integrating JasperReports WOWDC 2010. The only downside to his approach is that 
it assumes that you are creating a report of an Array of EOs and 
ERJasperReports didn't include a method of handing it a single EO.

My first attempt was to pass an array with only one object. Then after I 
figured out how Kieran was doing his magic I create a method to take a single EO

I created another class called   ERJRReportTaskFromEO.java that takes an EO and 
creates the report task.

I sent the .java to Kieran if he wanted to include it into ERJasperReports 
(then he might choose a better name). If you want, I can sent it to you keeping 
in mind that someone may 'fix' ERJasperReports to include the function with a 
better name.

Let me know if you want more info. I could cobble together an easy example, but 
I think Kieran's podcast is a perfect place to start.

Ted



--- On Tue, 10/9/12, Miguel Torres <[email protected]> wrote:

> From: Miguel Torres <[email protected]>
> Subject: Re: Generate a pdf with multiple page.
> To: "Theodore Petrosky" <[email protected]>
> Cc: "Raymond NANEON" <[email protected]>, "WebObjects Development" 
> <[email protected]>
> Date: Tuesday, October 9, 2012, 4:32 PM
> Hi  Theodore,
> 
> Could you give us more detailed about how you do that?
> 
> Thanks
> 
> Miguel Torres.
> 
> 
> On 09/10/2012, at 13:56, Theodore Petrosky <[email protected]>
> wrote:
> 
> > I use JasperReports also but I pass in my EO and let
> the framework do its magic.
> > 
> > Ted
> > 
> > --- On Tue, 10/9/12, Raymond NANEON <[email protected]>
> wrote:
> > 
> >> From: Raymond NANEON <[email protected]>
> >> Subject: Re: Generate a pdf with multiple page.
> >> To: "Miguel Torres" <[email protected]>
> >> Cc: "WebObjects Development" <[email protected]>
> >> Date: Tuesday, October 9, 2012, 1:16 PM
> >> Hi
> >> Miguel,
> >> Thanks  your recommendation. I choosed
> >> jasperreports and I am finalizing my .jasper and
> subreports.
> >> I made tests and it works fine. I use Xml data
> source too (a
> >> method which transforms data fetched in xml).
> >> Ray
> >> 
> >> Envoyé
> >> depuis iCloud
> >> 
> >> 
> >> 
> >> 
> >> Le 8 oct. 2012 à 22:44, Miguel Torres <[email protected]>
> >> a écrit :
> >> Hi
> >> Raymond
> >> We use BIRT
> >> Reports for PDF creation because it is easy to use
> and
> >> allows us to improve the graphic quality of our
> >> reports.
> >> http://www.eclipse.org/birt/phoenix/
> >> We use XML
> >> files as data source, so we have coded clases that
> generate
> >> those XML structures that feed ours reports.
> >> 
> >> Hope this
> >> helps.
> >> Miguel Torres 
> >> 
> >> 
> >> 
> >> On 01/10/2012, at 09:00, Raymond NANEON <[email protected]>
> >> wrote:
> >> Hi List,
> >> 
> >> I have a list of projects which contains 2pages
> (cf
> >> list_projet). I want to generate a detail of each
> project
> >> (2pages per project or less) in the same pdf. Can I
> do it
> >> with ERPDFGeneration or another framework?
> >> 
> >> liste_projets
> >> 
> >> 
> >> example of project pages:
> >> 
> >> page1
> >> 
> >> 
> >> page2
> >> 
> >> 
> >> Can I have methods examples  or advices on how
> can I do it?
> >> 
> >> Thanks for your help.
> >> Envoyé
> >> depuis iCloud
> >> _______________________________________________
> >> Do not post admin requests to the list. They will
> be
> >> ignored.
> >> Webobjects-dev mailing list
> >>      ([email protected])
> >> Help/Unsubscribe/Update your Subscription:
> >> https://lists.apple.com/mailman/options/webobjects-dev/wo%40toracom.net
> >> 
> >> This email sent to [email protected]
> >> 
> >> _______________________________________________
> >> Do not post admin requests to the list. They will
> be
> >> ignored.
> >> Webobjects-dev mailing list
> >>      ([email protected])
> >> Help/Unsubscribe/Update your Subscription:
> >> https://lists.apple.com/mailman/options/webobjects-dev/rnaneon%40me.com
> >> 
> >> This email sent to [email protected]
> >> 
> >> 
> >> -----Inline Attachment Follows-----
> >> 
> >> 
> >> _______________________________________________
> >> Do not post admin requests to the list. They will
> be
> >> ignored.
> >> Webobjects-dev mailing list      ([email protected])
> >> Help/Unsubscribe/Update your Subscription:
> >> https://lists.apple.com/mailman/options/webobjects-dev/tedpet5%40yahoo.com
> >> 
> >> This email sent to [email protected]
> >> 
> > 
> 
> 

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to