Re: [Zope] possible bug w/ CatalogAware?
-----Original Message----- From: Alex Rice <alrice@swcp.com> To: zope@zope.org <zope@zope.org> Date: Tuesday, August 17, 1999 7:29 PM Subject: [Zope] possible bug w/ CatalogAware?
The symptom is strange. The dtml method is named editSelf(). Like this, it works as intended:
<dtml-call "propertysheets.info.manage_editProperties(REQUEST)"> <dtml-call "RESPONSE.redirect('reindex_object')">
However, like this, it doesn't appear to call reindex_object, or it just doesn't do anything:
<dtml-call "propertysheets.info.manage_editProperties(REQUEST)"> <dtml-call reindex_object>
That's strange. Here's a method from KM|Net News: <dtml-call "REQUEST.set('score', 2000000000-(_.int(release) + 8640*importance))"> <dtml-if "not REQUEST.form.has_key('top')"> <dtml-call "REQUEST.set('top', 'off')"> </dtml-if> <dtml-if "not REQUEST.form.has_key('current')"> <dtml-call "REQUEST.set('current', 'off')"> </dtml-if> <dtml-call "propertysheets.artinfo.manage_changeProperties(REQUEST)"> <dtml-call reindex_object> <dtml-var index.html> This method works and does essentially what you were looking for... Kevin
On Tue, 17 Aug 1999 19:45:19 -0400, "Kevin Dangoor" <kid@kendermedia.com> said: Kevin> <dtml-call "propertysheets.artinfo.manage_changeProperties(REQUEST)"> Kevin> <dtml-call reindex_object> Kevin> <dtml-var index.html> Kevin> This method works and does essentially what you were looking for... Yep, see my next post. I was actually using <dtml-call "reindex_object">. DOh! It's good to see someone else is doing the same thing I am-- makes me more sure I actually am on the right track! -- Alex Rice | alrice@swcp.com | http://www.swcp.com/~alrice Current Location: N. Rio Grande Bioregion, Southwestern USA
participants (2)
-
Alex Rice -
Kevin Dangoor