Re: [Zope] <dtml-tree> and ZCatalog
Joel Burton writes:
ZCatalog + dtml-tree was asked a few months ago, but I didn't see any answers in the archives. Apoligies if I've misssd some. There is a HowTo on advanced "dtml-tree" usage on zope.org.
There, you should find what you are looking for! Dieter
On Thu, 15 Mar 2001, Dieter Maurer wrote:
Joel Burton writes:
ZCatalog + dtml-tree was asked a few months ago, but I didn't see any answers in the archives. Apoligies if I've misssd some. There is a HowTo on advanced "dtml-tree" usage on zope.org.
There, you should find what you are looking for!
Thanks, Dieter, but, sad to say, I've already *read* that, and I still can't quite figure out how to do this. Any hints along the way would be very helpful. As always, thanks. (& for the great start to your book--it's proving very helpful.) -- Joel Burton <jburton@scw.org> Director of Information Systems, Support Center of Washington
Joel Burton writes:
There is a HowTo on advanced "dtml-tree" usage on zope.org.
Thanks, Dieter, but, sad to say, I've already *read* that, and I still can't quite figure out how to do this. Maybe you read the "dtml-tree" section in
URL:http://www.dieter.handshake.de/pyprojects/zope/book/chap3.html You will need "branches_expr". Its value is evaluated in the context of the parent to determine the list of children. To control the level, you are probably interested in "tree-level". You will need appropriate Z SQL methods that you call in "branches_expr" with explicit parameter passing. Should you need more help (of course, after you read the section), then let me know. When you solved the problem (if necessary with my help), then I hope, you will write a HowTo. I saw several questions along these lines in the mailing list. Up to now, I was convinced, it were covered in the available HowTo. If it is not, a further one should be written. Dieter
participants (2)
-
Dieter Maurer -
Joel Burton