Re: [Zope] Zope product and dtml-tree

2008-07-31 Thread Tim Nash
Rowan, Can you try inheriting from dtml-document instead of simple-item? I use dtml document as much as I can. It is a big object but you almost always need to call a dtml object anyway. And all the methods are already battle tested. (BTW, for me zope is almost entirely the model, and the view

Re: [Zope] Zope product and dtml-tree

2008-07-31 Thread Jaroslav Lukesh
Look at LocalFS product. Regards, JL. ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce

[Zope] Zope product and dtml-tree

2008-07-30 Thread Rowan Woodhouse
Hi, I'm developing a Zope product that uses a dtml file to generate the html page. I'd like to include a dtml-tree based tree for navigation on the page. The custom object inherits from SimpleItem. When I include the follow code in the dtml file: dtml-tree dtml-var id /dtml-tree I get