-----Original Message----- From: Martijn Pieters [mailto:mj@antraciet.nl] Sent: Friday, October 22, 1999 6:24 AM To: Michel Pelletier; 'Geir B Hansen'; zope@zope.org Subject: RE: [Zope] Zcatalog and PrincipiaSearchSource with Zclasses ?
At 17:43 21/10/99 , Michel Pelletier wrote:
Sure, why not just impliment a DTML Method in your ZClass called PrincipiaSearchSource that returns what you want indexed?
<dtml-return "title + author + body">
This won't work, because you can't index on the result of a DTML Method. The DTML Method doesn't get called with the usual client and REQUEST objects, so the method has no means of obtaining the title, author and body parameters.
Proved wrong again! ;) Here is a pretty good use case for the catalog being more intelligent with DTML Methods, anyone want to put this in the Collector?
You can do it with an External Method:
This is probably the best idea. -Michel