fsi2 Posted September 10, 2015 Share Posted September 10, 2015 How can I iterate an object if I don't when it ends? More like iterate a list of list... For example I have a Father with children, this children have an children and and this children have his children and so on. Link to comment Share on other sites More sharing options...
hozawa Posted September 11, 2015 Share Posted September 11, 2015 Just recurse through the children. Link to comment Share on other sites More sharing options...
fsi2 Posted September 11, 2015 Author Share Posted September 11, 2015 But i dont know in list, for example $F{attribute.children} will only get the children, how about other children inside of this children? Link to comment Share on other sites More sharing options...
hozawa Posted September 11, 2015 Share Posted September 11, 2015 $F{attribute.children} isn't a list. It's just a field. If you're assigning an entity to the field, you'll probably have to write a Scriplet to get a value that can be displayed in a report. 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