Re: [Zope] ZClass Date Fields
I don't know of any bug that would produce this kind of behavior. It's more likely a problem in communication between the add form and the method invoked by that form. Can you show us the DTML for both? Then we can probably see what's going wrong. -- Loren - Original Message - From: "Craig" [EMAIL PROTECTED] To: "Loren Stafford" [EMAIL PROTECTED] Sent: August 24, 2000 07:05 AM Subject: Re: [Zope] ZClass Date Fields On Wed, Aug 23, 2000 at 08:01:54PM -0700, Loren Stafford wrote: I think what you need is here: http://www.zope.org/Members/lstaffor/zProperties This is what I followed. I used a different file type than PDF for my example, but I named the date property the same (pub_date) and when I create a new one, it gets created with pub_date set to 1970/01/01. My co-worker also followed your tutorial and had the same problem. Could this be a bug in Zope -- Loren - Original Message - From: "Craig" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: August 23, 2000 07:32 PM Subject: [Zope] ZClass Date Fields I'm sure you've heard this question before, so bare with me. I went through the ZClass tutorial and got everything working right except Date properties. Lets assume, for example, that my ZCLass is called CDClass. When I create a new CDClass instance (using the addForm), it always uses the default date for Date properties instead of the ones I've entered in the form. A co-worker of mine has had the same problem but we have not yet discovered why. Thoughts? Solutions? Later, -- \ Craig "Cowboy" McDaniel /_\ Software Engineer /_/_\ Internet Tool Die /_/_/_\ [EMAIL PROTECTED] /_/_/_/_\ (502) 584-8665 ext 108 ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] ZClass Date Fields
I'm sure you've heard this question before, so bare with me. I went through the ZClass tutorial and got everything working right except Date properties. Lets assume, for example, that my ZCLass is called CDClass. When I create a new CDClass instance (using the addForm), it always uses the default date for Date properties instead of the ones I've entered in the form. A co-worker of mine has had the same problem but we have not yet discovered why. Thoughts? Solutions? Later, -- \ Craig "Cowboy" McDaniel /_\ Software Engineer /_/_\ Internet Tool Die /_/_/_\ [EMAIL PROTECTED] /_/_/_/_\ (502) 584-8665 ext 108 ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] ZClass Date Fields
I think what you need is here: http://www.zope.org/Members/lstaffor/zProperties -- Loren - Original Message - From: "Craig" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: August 23, 2000 07:32 PM Subject: [Zope] ZClass Date Fields I'm sure you've heard this question before, so bare with me. I went through the ZClass tutorial and got everything working right except Date properties. Lets assume, for example, that my ZCLass is called CDClass. When I create a new CDClass instance (using the addForm), it always uses the default date for Date properties instead of the ones I've entered in the form. A co-worker of mine has had the same problem but we have not yet discovered why. Thoughts? Solutions? Later, -- \ Craig "Cowboy" McDaniel /_\ Software Engineer /_/_\ Internet Tool Die /_/_/_\ [EMAIL PROTECTED] /_/_/_/_\ (502) 584-8665 ext 108 ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev ) ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )