spunog Posted March 21, 2010 Share Posted March 21, 2010 I am passing a Java object to my report. If my object contains instance of another object as a member variable how to I print out the name of the member object. Lets say Class A contains String name;String phoneNumber;ClassB building So classB contains : String buildingName; If I pass Class A to my report, how do I print the buildingName in the report???? Thanks Spunog Link to comment Share on other sites More sharing options...
spunog Posted March 21, 2010 Author Share Posted March 21, 2010 ACtually when declaring the field at the top of the report just do the composition there and it works : <field "classb.buildingName" .... "java.lang.String"> 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