Hello,

for those who are in a need for search and enumeration capabilities for
specialist and racks in ZPatterns-0.3.0 right now like I am, the
following could be interesting.

Searchable.py defines:
        CatalogAwareAttributeProvider,
        CatalogAwareAcquiredAttributeProvider
                Attribute providers that recatalog the object when its attributes are
changed

        CatalogAwareRack
                Rack that has a catalog inside it, and index the object created with
newItem, and modified afterward.
                by default, only the id is catalogged. this can be changed in _setup
for derived classes

        CatalogAwareSpecialist
                Specialist that has support for CatalogAwareRack. A tab 'Contents'
provide support for enumerating the objecs in the racks. www/contents
can be customized to allow, editing, adding, and/or deleting objects if
you like.

This, in fact, is a quick hack. remember that all these will be useless
when ZPatterns-0.4.0 is out. But I'm fool enough to use evolving
software still in infant stage...

hope this is useful like it is for me.

regards,
jephte clain
[EMAIL PROTECTED]

Searchable.tgz

Reply via email to