[Zope-CMF] portal discussion and folder like object

Dieter Maurer dieter@handshake.de
Mon, 27 Jan 2003 22:25:55 +0100


Sylvain Th=E9nault wrote at 2003-1-27 15:18 +0100:
 > I've a problemn trying to allow discussion on folder like objects. The
 > problem is that discussion items may not be attached to the correct
 > folder since the folder may acquire its 'talkback' attribute.
 > I've filled a bug to the collector (http://collector.zope.org/CMF/119)
 > and tried to wrote a patch but my patch seems to break the discussion
 > mecanism in another point when it tries to reconstruct thread.
 > =20
 > Any idea on this ?
You "hasattr(aq_base(folder),'talkback')" to check
whether "folder" as a "talkback" and if it has, use
"folder.talkback" to access it.


Dieter