Jump to content
Changes to the Jaspersoft community edition download ×

Recommended Posts

By: tommy - tommy2381

custom class

2005-04-06 08:16

I have a class User (with 2 fields: firstName, lastName).

can I pass a Collection with object of User type to Jasper ?...

something like this:

- <textfield><textFieldExpression class="java.lang.String"><![CDATA[$F{User.firstName}]]></textFieldExpression></textfield>



If not a Collection can I pass only one Object of this type and how ?


If this subject has been already discussed please write the link...




By: Alexander Wallace - aows

RE: custom class

2005-04-06 15:59

jasper reports supports multiple datasources, if that's what you need, yes, indeed you can wrap pretty much any object in a jasper report data source interface and use it in your reports.


check the demo/samples/datasource directory of jr.


Hope that helps

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...