Hi all! I need some help about tree tag, cause I don't quite understand how to create subbrunches of subbrunches with dtml-tree using values returned from an Z SQL method. How dtml-tree decides whether it has to generate a new subbrunch or continue to display values on the same level? I would appreciate any hint Andrei
Hi Andrei, the tree-tag is the most confusing one :-) But simply it uses one id to start. Then feeding it into the method, getting a list of new ids. Next it feeds this ids into the method to get a list of childs (so it makes a branch) or an empty list (so it makes a leave). All you need to do ist to make sure your method can deliver lists of unique ids for each id as argument. HTH Tino Wildenhain Infoman: Andrei Belitski wrote:
Hi all! I need some help about tree tag, cause I don't quite understand how to create subbrunches of subbrunches with dtml-tree using values returned from an Z SQL method. How dtml-tree decides whether it has to generate a new subbrunch or continue to display values on the same level?
I would appreciate any hint Andrei
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
participants (2)
-
belitskiļ¼ infoman.de -
Tino Wildenhain