Webui uses a modified, chaining-friendly version of Zope3's page templates. It's very easy to create recursive templates, as the templates can readily call any registered view for any object to which they have access. The tree control is such a recursive template. It does a little work up-front to see how many children the current node has, then renders the node, then decides whether to render the children.
Pingbacks are closed.