[Zope] Help ZClasses and Properties.

Loren Stafford lstaffor@dynalogic.com
Thu, 10 Feb 2000 08:14:21 -0800


I had a problem with that too, so I wrote up what I found at
http://www.zope.org/Members/lstaffor/zProperties

Maybe that will apply to your situation, too.

-- Loren

----- Original Message -----
From: Mats Nordgren <mats@ronin-group.org>
To: <zope@zope.org>
Sent: February 10, 2000 07:45 AM
Subject: [Zope] Help ZClasses and Properties.


> I'm trying to figure out how to use ZClasses and I found myself having
> problems with the manage_changeProperties for a property of the Class I
> made.
>
> I followed the ZDG ZClass tutorial and created the CDProduct the
> CDClass, set the property sheet and the class seems to be working ok but
> I can not for my life get the manage_changeProperties to update the
> properties of the instance of myCD in the root folder.
>
> I can change the properties with the Properties tab of the instance but
> not through DTML with the line:
> <dtml-call "myCD.manage_changeProperites({'title':'this title',
> 'artist':'this artist', 'description':'this desc'})">
>
> It doesn't give me an error or anything it just dont change any property
> values.
>
> Please Help,
>
> Sincerely,
> Mats Nordgren
>
>
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> 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 )
>