posted 13 years ago
Hi
I have a list of objects type Node (items). And Node class has children in it (childItems). I Want to print this structure in ol li html markup.
Preparing in a recursive method. But there is some issue in my logic. Have a look on my code.
The the size of the items will be 2. According to given sample markup. Means 2 top level parents exist. And then they have further children as a list in them.
Following markup is an example. It can be on N level.