Jump to content
We've recently updated our Privacy Statement, available here ×

Please help: Arraylist with JavaBeans


fatsy

Recommended Posts

Hi,

 

I have a java class A with an Arraylist as an Attribute which is of type java class B.

 

My problem occurs when displaying a report from all the objects of type A.The arraylist of only the last object of type A will be diplayed.

I want is from all Objects of type A.

What I did, I used subreport to display the arraylist with dataSourceExpression

![CDATA[new net.sf.jasperreports.engine.data.JRBeanCollectionDataSource($F{RG})]]

 

 

Please help me!!!!!:(

Attached are the files used.

 

regards

Fatsy

[file name=File-fef3703376cb568d2bbaeb4279df5984.zip size=9027]http://www.jasperforge.org/components/com_joomlaboard/uploaded/files/File-fef3703376cb568d2bbaeb4279df5984.zip[/file]

Link to comment
Share on other sites

  • Replies 1
  • 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...