Jaspertsoft List element repeats only the last element

I am using TIBCO Jaspersoft® Studio 6.19.0 - Visual Designer for JasperReports 6.19.0. I have a report with a list element and I am using JRBeanCollectionDataSource.

I put the list in a detail band, and when I pass a list of 3 different elements, it repeat 3 times, but it only the last element of the list which is displayed.

Here is my report : it is the first list with dataset name = vehicleList.

I have tried with a sub report and it is the same behavior.

Does someone sees what is not going well ?


jeanclaude.twagiramungu's picture
Joined: Jan 16 2018 - 11:38am
Last seen: 6 months 2 days ago

1 Answer:

This is a tricky one - I haven't used a JRBeanCollectionDataSource in a long time, but I would check this StackOverflow question as it has a good, detailed description of proper usage. Your jrxml is different - I would try the suggestion in this:


I wish I could be more help, but it's hard not seeing the full code you've written.

mbielkiewicz's picture
Joined: Feb 23 2014 - 9:22pm
Last seen: 3 hours 43 min ago