[Zope-dev] ZCatalog: Forgot to mention

Jason Spisak 444@hiretechs.com
Wed, 08 Mar 2000 15:10:40 -0500


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.

All my best,

-- 
Jason Spisak
444@hiretechs.com