[Zope3-Users] NameChooser, ZCML, and set_before_add

David Johnson djohnson at jsatech.com
Sun Jan 22 18:03:12 EST 2006


I'm implemented NameChooser similarly to Phillip's book.  It works great
except when I edit - name changes do not take effect. For example, if I
added an object with a name like "BBQ", and then later edit it and change it
to "BBQ Chicken", the name of the object stays "BBQ", although the name
attribute becomes "BBQ Chicken".    

 

When a form is added, the ZCML directive "set_before_add" works. Is there a
similar one for "browser:editform"?   Is there another approach that is
recommended?

 

 

--

David Johnson

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/zope3-users/attachments/20060122/2453802d/attachment.htm


More information about the Zope3-users mailing list