[Zope] Zcatalog and PrincipiaSearchSource with Zclasses ?

Geir B Hansen geirh@funcom.com
Fri, 22 Oct 1999 14:06:21 +0200


>
> 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.
>
> You can do it with an External Method:
>
>    def AllField(self)
>        return self.title + self.author + self.body
>
> or you could make a property on you object that on every update gets
filled
> with the contents of title + author + body.
>

Thanks !  This really cleared up some things :-)
my first venture into the great domain of external methods has now been
triggered . exciting !

------------------------------------------------
          Geir B Hansen
      geirh@funcom.com
Web-designer / Graphic artist
          Funcom Oslo
------------------------------------------------