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

PersonBean example


2005 IR Help

Recommended Posts

By: Strat - larynf

PersonBean example

2005-10-14 10:36

PersonBean.java has this line declared

private HobbyBean[] hobbies;

 

Using iReport, what do I need to specify to get a handle to hobbies and subsequently the name field in HobbyBean.java

 

In my template I have hobbies added as a field of type Object and tried various combination of tasks like

(((it.businesslogic.ireport.examples.beans.HobbyBean)$F{hobbies})).getName()

in the Textfield Expression box, but it does not seem to work.

i.e. I would like to build a report which lists the Person's name and hobbies

 

Someone here must had surely bumped into this and I would appreciate any help.

 

 

Thanks

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Popular Days

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