2001 JI Open Discussion Posted August 21, 2006 Share Posted August 21, 2006 By: tommy - tommy2381 custom class 2005-04-06 08:16I 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... Thanks. By: Alexander Wallace - aows RE: custom class 2005-04-06 15:59jasper 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now