[Zope] Change Name on Contents tab
Chris Withers
lists at simplistix.co.uk
Tue Mar 30 03:51:05 EST 2004
Serg wrote:
> I form value of "id" attribute depending to other attributes value.
Ouch... what code are you using to do this? If id is dynamically computed,
things will bite you...
> If I change one of there attributes (programatically or through the ZMI) I
> must change "id".
> I save new "id" but on Contents tab I see old "id".
> How can I use the rename functionality?
Indeed, if it's in a method of your class, try:
self.aq_parent.manage_renameObject(old_id, new_id)
cheers,
Chris
--
Simplistix - Content Management, Zope & Python Consulting
- http://www.simplistix.co.uk
More information about the Zope
mailing list