[Zope] Re: [Zope-dev] ZCatalog: Forgot to mention

Jason Spisak 444@hiretechs.com
Thu, 09 Mar 2000 00:31:30 GMT


Thanks for the correction/clearification.

All my best,

Martijn Pieters writes:

> From: "Jason Spisak" <444@hiretechs.com>
> > Tom,
> >
> > Michel can correct me if I'm wrong here, but I believe only properties
> > get indexed in the Catalog.  YOu can also only retuen properties as
> > meta_data.  If you want the value of a given method that comes up fora
> > Catalog result, you do this:
> >
> > <dtml-in "Catalog.searchResults(title='foo')">
> >  <dtml-with "resolve_url(getpath(data_record_id_),REQUEST)">
> >   <dtml-var getParentEx>
> >  </dtml-with>
> > </dtml-in>
> >
> > This will return the value of getParentEx method for the record
> > returned.
> 
> You can catalog mthod results as well. But as catalog won't pass in any
> parameters, you cannot use DTML Methods or Documents. Use an External Method
> or Python Method instead.
> 
> Martijn Pieters
> | Software Engineer    mailto:mj@digicool.com
> | Digital Creations  http://www.digicool.com/
> | Creators of Zope       http://www.zope.org/
> |   The Open Source Web Application Server
> ---------------------------------------------
> 


Jason Spisak
CIO
HireTechs.com
6151 West Century Boulevard
Suite 900
Los Angeles, CA 90045
P. 310.665.3444
F. 310.665.3544

Under US Code Title 47, Sec.227(b)(1)(C), Sec.227(a)(2)(B) This email
address may not be added to any commercial mail list with out my
permission.  Violation of my privacy with advertising or SPAM will
result in a suit for a MINIMUM of $500 damages/incident, $1500 for
repeats.