Tim Hicks wrote:

>  I can't for the
> life of me figure out or find anywhere that can tell me how to make the
> instance get reindexed when it is edited.  I'm assuming that it is similar
> to the process for reindexing when the properties are changed, but I'm just
> not sure of the details. If it's not too much trouble, could someone give me
> detailed instructions (or a link) on how to do this. I'd really appreciate
> it.
>

In your method which is called by your edit form, insert a <dtml-call
"this().reindex_object()"> after updating the properties.

Eg, in my manage_edit method I have

    <dtml-call "propertysheets.Base.manage_editProperties(REQUEST)">
    <dtml-call "propertysheets.Facility.manage_editProperties(REQUEST)">
    <dtml-call "this().reindex_object()">

Regards, Ivan



_______________________________________________
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )

Reply via email to