[Zope-CMF] Proposal: CMF Topic with sub-topic.

Jeffrey P Shell jeffrey@cuemedia.com
Mon, 18 Mar 2002 11:10:52 -0700


On 3/18/02 11:36 AM, "kent" <kent@goathill.org> wrote:

> On 14 Mar 2002 08:30:01 -0600, Tres Seaver wrote:
>> A re-implementation should depend only on public interfaces of
>> the catalog, and should be immune to the "staleness" problem.
>> I can't think of a good way to do this in Zope 2 without creating
>> a specialized index type.  The TopicIndex type, which will be
>> available in Zope 2.6, might be useful here:
>> 
>>   http://dev.zope.org/Wikis/DevSite/Proposals/TopicIndexes
> 
> This is starting to look suspiciously like what I have been wanting
> for a very long time (typically done with an acyclic directed graph)
> - be able to create a heirarchy of query filters, possibly overlayed
> with the tree-tag.
> 
> Am I correct here?
> 
> BTW, how do you perform the equivalent of the tree tag in Page
> Templates?

Jump through hoops with the woefully underdocumented ZTUtils module's tree
support objects.

For some examples, look in CMFDefault/skins/zpt_generic at
setup_talkback_tree.py and talkback_tree.pt.

-- 
Jeffrey P Shell 
www.cuemedia.com