[ZPT] restrict items in tree

emf mindlace@imeme.net
Mon, 19 Aug 2002 11:19:28 -0400


emf wrote:

> tm = SimpleTreeMaker(tree_pre)
> tm.setSkip('')
tm.setChildAccess(function=container.show)
> tree, rows = tm.cookieTree(tree_root)
> rows.pop(0)
> return {'root': tree, 'rows': rows}

Wheree show is:
object.objectValues(['Folder'])

at least gets me most of the way there. Now I just have to improve the 
filter a little.

~ethan