[Zope] DTML Tree question...
Anthony Baxter
Anthony Baxter <anthony@interlink.com.au>
Tue, 09 May 2000 10:15:17 +1000
Have a look at my how-to at
http://www.zope.org/Members/anthony/tree-coding-tricks
Anthony
>>> Antonio Schifano wrote
> Hi all,
>
> I would like to use dtml-tree for representing the data stored in a
> database table, which inherently has a tree hierarchy. Just to be clear,
> imagine a table in which each row has a 'pointer' to the father row,
> like in the following example:
>
> ID | FATHER | Rest-of-data
> -----+----------+----------------
> 0 | - | ...
> -----+----------+----------------
> 1 | 0 | ...
> -----+----------+----------------
> 2 | 0 | ...
> -----+----------+----------------
> 3 | 1 | ...
> -----+----------+----------------
>
> and so on...
>
> Unfortunately I haven't figured out (yet!) the wizardries needed to make
> this work.
> Any suggestions/pointers?
>
> Thank you!
>
> Antonio Schifano
>
> _______________________________________________
> 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 )
>
--
Anthony Baxter <anthony@interlink.com.au>
It's never too late to have a happy childhood.