[Zope] DateTime and propertysheets
Small Business Services
toolkit at magma.ca
Mon Jan 19 08:09:33 EST 2004
manage_editProperties causes ALL properties on the propertysheet to be updated. If you want to control which properties get updated, use manage_changeProperties:
eg.
manage_changeProperties({'field_id' : 'field_value', 'field_id2' : 'field_value2'})
HTH
Jonathan
----- Original Message -----
From: David Sumner
To: zope at zope.org
Sent: January 18, 2004 2:52 PM
Subject: [Zope] DateTime and propertysheets
Hello,
I have created a Product with a ZClass. The ZClass has a propertysheet with a date property. When creating an instance of this product I try to call the manage_editProperties method and modify the value of another non date property and I receive an Invalid Date-Time String. Now, I am not attempting to modify a date property but am still getting this error whenever I tried to change a value on the same propertysheet as a date property. If I try to change the date value to a valid date time value, I still receive the same error.
Thanks
------------------------------------------------------------------------------
_______________________________________________
Zope maillist - Zope at zope.org
http://mail.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope-dev )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/zope/attachments/20040119/785beb86/attachment.html
More information about the Zope
mailing list