How to pass a custom object

By: Simon Chevrier - simonchevrier
How to pass a custom object
2003-12-10 07:54
Hi,

I want to add to my report an object that is already in my session. Is it a way to pass my object to jasper other that make a query to the database.

I use to create my report ireport.

thanks




By: Teodor Danciu - teodord
RE: How to pass a custom object
2003-12-10 07:57

Hi,

You can pas anything as a parameter when filling
a report:

http://jasperreports.sourceforge.net/tutorial/index.html#parameters

Chech the samples to see how parameters are used.

Thank you,
Teodor





By: Simon Chevrier - simonchevrier
RE: How to pass a custom object
2003-12-10 08:15
So,

if I want to use my customer or invoice object, I only have to pass it in my parameter and use them in my report.

thanks
2002 JI Open Discussion's picture
Joined: Aug 10 2006 - 3:28am
Last seen: 16 years 7 months ago

0 Answers:

No answers yet
Feedback
randomness