Hi, Somebody experience with a parent code table and how to implement it in Zope (with dtml-tree)? Or is a PArent-Code table not SQL-like and is there a better solution? eg : Parent Code Description 0 0 MasterNode 0 1 Child1 of MasterNode 0 2 Child2 of MasterNode 1 3 Child of Child1 .... Thanks in advance, Tom.
At 02:14 PM 9/20/00 +0200, Tom Deprez wrote:
Hi,
Somebody experience with a parent code table and how to implement it in Zope (with dtml-tree)? Or is a PArent-Code table not SQL-like and is there a better solution?
No, it is a good solution. I used it many times for threaded message boards. But I do not know how to handle it with the tree tag. If you write your own Zope Product, it should be possible. Regards, Stephan -- Stephan Richter CBU - Physics and Chemistry Student Web2k - Web Design/Development & Technical Project Management
Somebody experience with a parent code table and how to implement it in Zope (with dtml-tree)? Or is a PArent-Code table not SQL-like and is there a better solution?
eg :
Parent Code Description 0 0 MasterNode 0 1 Child1 of MasterNode 0 2 Child2 of MasterNode 1 3 Child of Child1
....
Hi Tom, There is a good Howto by anthony Baxter on this subject called Some Neat tricks with dtml-tree. It is at http://www.zope.org/Members/anthony/tree-coding-tricks This should get you started hth Rik
participants (3)
-
Rik Hoekstra -
Stephan Richter -
Tom Deprez