Linuxhippy Posted February 21, 2011 Share Posted February 21, 2011 Hi,I would like to directly use JavaBeans. It works great for simple types like String/Integer, but who can I access more complex properties? Suppose I have the following class hirarchy: class Bill { Customer cust; } class Customer { String name; } Bill is the Bean I feed into the Report. Is there any way to access the Bill's customer's name? I already tried $F{cust.name} but doesn't seem to work. Thank you in advance, Clemens Link to comment Share on other sites More sharing options...
Linuxhippy Posted February 21, 2011 Author Share Posted February 21, 2011 Sorry - after I'd tried for hours, 5 minutes after creating this thread I came to a conclusion myself: $F{cust}.getName() 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