[Zope-dev] ZCLass help

Veiko Schnabel v.schnabel@aperto.de
Fri, 03 Nov 2000 09:55:15 +0100


problem:

i created a new Product  calles book
with propertys writer(string), pages(int)
and a standart method called index_html to output all these probertys
no problem until that
next i created in a subfolder an instance of my book-product
calles my_book
to get all propertys og my_book i used
http:://www.mydomain.com/subfolder/my_book
an got in a format, defined in method index_html, all these propertys
(artist/pages)
still not the problem
next i created a DTML Document (test_output) in my subfolder with these
content
<dtml-var standard_html_header>
<h2><dtml-var title_or_id></h2>
<p>
new Book :
<dtml-var my_book>
</p>
<dtml-var standard_html_footer>

http:://www.mydomain.com/subfolder/test_output
all i get is the id of the instance my_book
<PubClass instance at 8ab30c8>

and this is the problem

i would like to see there the output of that method index_html

could someone help me please,please,please