[Zope-CMF] Failed uses of default methods for getting a non-threaded list of responses

Ausum augusto@artlover.com
Thu, 2 Aug 2001 00:16:27 -0500


(I'm sorry this is a newly posted question, because the first one wasn't
answered.)

I'm trying to perform a simple, non-threaded list of responses to a
discussable object, included its titles and excerpts from them as well.
Although
I've looked at the methods currently available at DiscussionItem.py, and
tried with the most appealing like getreplyResults() and  getReplies(), I
haven't suceeded.

"talkback.getReplies()"  retrieves an instance, but when itemized using
dtml-in, the results are still nested one in another.   getreplyResults()
doesn't retrieve anything at all.

I also tried to iterate the objects within de container, and although
"talback.objectIds()" seems to be the only thing currently working,  it
doesn't let to get the properties, whatever I've tried; objectValues() tries
to break a security layer and ask for authentication; and objectItems()
causes an error, guess related to the previous security issue.

Obviously I'm stuck here. Does anyone in the list tried this and have
this feature working: a plain and non threaded list of replies
including its titles and texts, using standard CMF methods? Would you please
paste the code as well?


Thanks again,


Ausum