[Zope] Rndering Products

Thomas Adams thomas.adams at onlinehome.de
Sun Apr 23 11:00:40 EDT 2006


Hello,

on an own product  I've coded this:


index_html = Globals.DTMLFile('dtml/viewLinkListItem', globals())

__str__ = index_html 


If I start now Zope again a message

PROBLEM(100) Init Ambiguous name for method of 
Products.KBProducts.kbarticle_impl.LinkListItem: "__str__" != "index_html"

appears.

Anything behave as it should, so the string representation of this 
product works
if i For instance call it up within a dtml-loop:

<dtml-in getLinks()>
    <dtml-var sequence-item>
</dtml-in>

In this loop the LinkListItem Product is rendered as defined in index_html

Does anxboy has any ideas about the Zope message ??

Thanks in advance

Thomas Adams





-------------- next part --------------
A non-text attachment was scrubbed...
Name: thomas.adams.vcf
Type: text/x-vcard
Size: 334 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope/attachments/20060423/f690d638/thomas.adams.vcf


More information about the Zope mailing list