Re: [Zope] Rndering Products

2006-04-23 Thread Andreas Jung



--On 23. April 2006 17:00:40 +0200 Thomas Adams 
<[EMAIL PROTECTED]> wrote:



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


Does anxboy has any ideas about the Zope message ??


This usually happens when you're trying to rebind an existing name 
(__str__) (see lib/python/App/class_init.py).


-aj


--
ZOPYX Ltd. & Co. KG - Charlottenstr. 37/1 - 72070 Tübingen - Germany
Web: www.zopyx.com - Email: [EMAIL PROTECTED] - Phone +49 - 7071 - 793376
E-Publishing, Python, Zope & Plone development, Consulting


pgp3NBd6dBZeG.pgp
Description: PGP signature
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] Rndering Products

2006-04-23 Thread Thomas Adams

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:


   


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





begin:vcard
fn:Thomas Adams
n:Adams;Thomas
adr;quoted-printable:;;Richard-Strauss-Str. 27;M=C3=BCnchen;Bayern;81677;Deutschland
email;internet:[EMAIL PROTECTED]
tel;work:089 55 186 500
tel;home:089 470 270 19
tel;cell:0178 544 83 05
note;quoted-printable:Handy Interone:=0D=0A=
	=0D=0A=
	0163 432 9608
version:2.1
end:vcard

___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )