[Zope-dev] display a ZClass instance
Itamar S.-T.
itamars@ibm.net
Mon, 12 Jul 1999 20:38:38 +0300
I create a ZClass, which inherits from ObjectContainer, with a index_html
DTML method, and create an instance of the class called test.
http://localhost:9673/test or http://localhost:9673/test/index_html works
fine, but if I try doing <!--#var test--> from inside the DTML method
http://localhost:9673/test/index_html it writes in the html file (it doesn't
show up since Netscape thinks its a tag)
<AnouncementsClass instance at 84f9e10>
instead of what I want it to do - that is, show the output of
test/index_html.
How then do I display it? Does it need to inherit from anything else?
--
Itamar - itamars@ibm.net
----------------------------o----------------------------------------------o
Sealingwax Greeting Cards | Trust? Ha! The US dollar is backed by ICBMs! |
http://www.sealingwax.com | --Anonymous Coward, Slashdot |