[Zope] Adding a ZClass instance fail

2006-12-13 Thread nienfeng
o find the answer. Thanks. by nienfeng Exception Value default __new__ takes no parameters Traceback (innermost last): * Module ZPublisher.Publish, line 121, in publish * Module Zope2.App.startup, line 240, in commit * Module transaction._manager, line 96, in commit

Re: [Zope] Adding a ZClass instance fail

2006-12-13 Thread nienfeng
thank you. Andreas Jung ??: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 - --On 13. Dezember 2006 17:31:29 +0800 nienfeng <[EMAIL PROTECTED]> wrote: hi, every one I'm a novice to zope. when I follow the example of zoopBook2.7 (http://www.plope.com/Books

[Zope] how to modify floder's attribute by script

2006-12-27 Thread nienfeng
I create a folder in ZMI, and add several attributes in it. In the folder, I add a Script that modify the folder's attribute. How should I do? ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or H

Re: [Zope] how to modify floder's attribute by script

2006-12-27 Thread nienfeng
nienfeng : I create a folder in ZMI, and add several attributes in it. In the folder, I add a Script that modify the folder's attribute. How should I do? I find it : manage_changeProperties() but There are still something I don't know. EX: Email/ (folder), has 3 properties: