[web2py] recursive tree views

2011-05-30 Thread demetrio
Hi everyone, I have a question about the views and their posibility to create tree views recursively. I want something like this in a view: {{for item in items:}} div here goes the main item data./div div class=childrens {{if item.childs:}} HERE GOES THE SAME

Re: [web2py] recursive tree views

2011-05-30 Thread Vasile Ermicioi
I am investigating this area for quite time https://docs.google.com/document/d/1ZOwRUJz4gRPI875rftTfwOBIera1JgZDPulooGjNyu0/edit?hl=en_US you can choose from a few models, but my idea is to preload all rows in controller then to pass them to view in controller: #OrderedTree rows =