[Zope] Rendering Folderish ZClass Object

Chris Withers chrisw@nipltd.com
Mon, 10 Jul 2000 12:55:09 +0100


Hi,

I have a ZClass based on Folder. Contained within this is a DTML Method,
index_html. This is mapped to the 'View' view and renders the
appropriate object contained in itself depending on soem logic.

All, is well if I access the object through a URL, the page is rendered
as expected.
However, if I access the object with the following code:
<dtml-var testObject>

All I get is:
<MyClass instance at 8717b90>

Why is this? Why does the normal rendering not take place?

cheers,

Chris

PS: I notice that a normal folder object will behave identically, so the
ZClass bti is probably irrelevent.