[Zope] Zclasses derived from ZCatalog

Tres Seaver tseaver@palladion.com
Wed, 03 Nov 1999 12:40:03 -0600


Martijn Pieters wrote:
> 
> At 17:27 3-11-99 , Tres Seaver wrote:
> > > Erm... bother. And the traceback is?
> >
> >DOH! My bad!
> 
> How about
> 
>    _.getitem('Catalog', 1)(meta_type='Bar')

That gives the same AttributeError (__getitem__).

> 
> or
> 
>    <dtml-with Catalog>
>       <dtml-in "searchResults(meta_type='Bar')">
>    </dtml-with>

That works.  COOL!  I'll update my How-To to use this technique instead.

-- 
=========================================================
Tres Seaver         tseaver@palladion.com    713-523-6582
Palladion Software  http://www.palladion.com