[Zope] ZClasses

Martijn Pieters mj@antraciet.nl
Mon, 10 May 1999 14:10:11 +0200


At 13:44 10/05/99 , Phil Harris wrote:
>Hi all,
>
>Just trying out the ZClass stuff.
>
>I've created a product 'Question' with one property 'Description', which is
>creatable and all works well.
>
>However when using manage_changeProperties to make changes through a form,
>the changes don't ever get saved, :(.
>
>Any ideas?

I discovered you have to call manage_changeProperties on the Propertysheet 
object.

So, if you called the sheet 'obj_info', you have to call 
common.obj_info.manage_changeProperties. This way you can support several 
different propertysheets.

--
Martijn Pieters, Web Developer
| Antraciet http://www.antraciet.nl
| Tel: +31-35-6254545 Fax: +31-35-6254555
| mailto:mj@antraciet.nl http://www.antraciet.nl/~mj
| PGP: http://wwwkeys.nl.pgp.net:11371/pks/lookup?op=get&search=0xA8A32149
------------------------------------------