Jump to content
JasperReports Library 7.0 is now available ×

Reading the right image from a hashmap of ima


2004 IR Help

Recommended Posts

By: sherifeldibani - sherifeldibani

Reading the right image from a hashmap of ima

2005-08-07 22:02

Again, I am very green at this and at Java itself.

I havea report where each detail line ( a subreport) will have an image associated with it. The images are stored in a database along with the rest of the data needed for the detail line.

 

I need to print the image of each detail line item. I have not found a way to do this yet, and I am hoping to get some examples.

 

One way i saw was to create a hashmap of all images and pass it to the Main report as a parameter which in turn can be passed to the subreport.

 

The problem that i have with this is how would I know which image to print for each individual detail line? (i.e. the ith image will go on teh ith lAny help will be greatly appreciated....

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...