John Anderson wrote:
2) The Trash code (still under development, I think) uses it to make  sure that items are removed from their containing collections before  being moved to the Trash.


Again, this can all be done with sets and not code.

John, can you explain how I would do this for the trash? I need a list of "all collections in the sidebar which contain XXX" where XXX is some specific item. Since we're talking about lists of collections (not collections of items) its not clear to me how we go from an item to the collections that contain it.

Alec
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

Open Source Applications Foundation "Dev" mailing list
http://lists.osafoundation.org/mailman/listinfo/dev

Reply via email to