How do I update just ONE property in a property sheet?
I have a form that updates a property in my zclass, but every time I use the form, ALL the property fields then become blank... How can I update JUST a specific field? Thanks in advance, Rob
-----Original Message----- From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Rob Foster
I have a form that updates a property in my zclass, but every time I use the form, ALL the property fields then become blank...
Are you using manage_editProperites? That requires you to specify all properties in your form because it will replace all of the existing properties with what you pass it. Use manage_changeProperties to modify only what you pass and leave the others alone. _______________________ Ron Bickers Logic Etc, Inc.
Cool, that was just what I needed. Works perfect now. Thanks a lot. On Thursday, November 29, 2001, at 11:02 PM, Ron Bickers wrote:
-----Original Message----- From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Rob Foster
I have a form that updates a property in my zclass, but every time I use the form, ALL the property fields then become blank...
Are you using manage_editProperites? That requires you to specify all properties in your form because it will replace all of the existing properties with what you pass it. Use manage_changeProperties to modify only what you pass and leave the others alone. _______________________
Ron Bickers Logic Etc, Inc.
participants (2)
-
Rob Foster -
Ron Bickers