On Fri, 26 May 2000, Tres Seaver wrote:
Curtis Maloney <curtis@umd.com.au> wrote:
Greetings,
I am experimenting with my first ZClass. I have inherited from Renderable, and XMLDocument. I have added a few DTML Methods, including a 'render' method.
You are up against a known problem, i.e., that ZClass instances can't function as directly-renderable objects:
http://classic.zope.org:8080/Collector/476/view
The workaround is to download the contributed Renderable-ZClass product:
http://www.zope.org/Members/lalo/Renderable-ZClass
and derive your ZClass from the mix-in it provides (migrating an existing ZClass to it is painful, but doable).
<ahem>... if you check in my first paragraph, I have already derived from the Renderable ZClass.
Tres.
-- Have a better one, Curtis. <dtml-var standard_work_disclaimer>