Hello. It is clear how to create tree hierarchies, based on zope folders structure, but I could not find examples of displaying as tree structures, which are external to Zope. For example let us have a relational table LIST_NODES with the following columns: (ID_SELF:INTEGER , ID_PARENT:INTEGER , NAME_SELF:VARCHAR) it is very simple to write SQL methods for retrieving set of children of current node, but syntax for writing "expr", "brances", etc. methods is unclear. Could You please refer me to some example of displaying custom objects hierarchy with the #tree tag. -- Best regards Oleg Machulski ---------------------------------------------------- http://www.geocities.com/SiliconValley/Network/7671/ mailto:oleg_machulski@geocities.com
Oleg Machulski wrote:
Could You please refer me to some example of displaying custom objects hierarchy with the #tree tag.
You might want to take a look at http://zdp.zope.org/guide/reference/dtml/tree_ref which is a description of the #tree syntax, but not examples. This is one of the very few items in this documentation tree, so be forewarned! - Craig -- Craig Allen - Managing Partner - Mutual Alchemy Information Architecture - http://alchemy.nu
participants (2)
-
Craig Allen -
Oleg Machulski