Re: [Zope-dev] Question about using CatalogAware
4 Aug
1999
4 Aug
'99
10:30 p.m.
"Kevin Dangoor" wrote A test DTML Method showed me that default_catalog = 'Catalog'. I have a ZCatalog called 'Catalog' in the Zope root. Since the ZClass is an Object Manager, the Method is one level down and will have to acquire the catalog.
If I replace "_[default_catalog](searchfor)" with "Catalog(searchfor)", the method works.
what about "_[_[default_catalog]](searchfor)" ? If I understand your mail correctly, default_catalog is set to the _string_ 'Catalog' - you need to look up the value of the string to get the object... Anthony -- Anthony Baxter <anthony@interlink.com.au> It's never too late to have a happy childhood.
9765
Age (days ago)
9765
Last active (days ago)
0 comments
1 participants
participants (1)
-
Anthony Baxter