[Zope3-Users] Cloning interfaces/interface fields - how?

2008-02-19 Thread Hermann Himmelbauer
Hi, I'm over and over confronted with a simple pattern, where I need to clone interface field. For instance, I have the content object, which has an interface, e.g.: class IPerson(Interface): name = TextLine() address = TextLine() Then, I have for instance a search form, which consists of

[Zope3-Users] How do you develop in zope 3?

2008-02-19 Thread jdinunci
Hello, * How do you develop in zope 3? First a few words: After trying from time to time Zope 3 (X3, 3.0...) finally a month ago I jumped in full time. Thanks to Philipp von Weitershausen's book, my previous problems were solved. So I downloaded the zope 3 tar.gz and started to practice... only

[Zope3-Users] Re: How do you develop in zope 3?

2008-02-19 Thread George Wright
Gidday I am very interested to read some replies to this. I'm in much the same situation and very confused now. On 20/02/2008, at 4:00 AM, [EMAIL PROTECTED] wrote: How do you develop in zope 3? First a few words: After trying from time to time Zope 3 (X3, 3.0...) finally a month ago I

[Zope3-Users] if make check(test) failure, should I make install?

2008-02-19 Thread Fet Biz
What to do next? If the make test results: -- Ran 9471 tests with 4 failures and 9 errors in 12 minutes 31.391 seconds. Tests with errors: testInheritanceAcrossModules (zodbcode.tests.test_class.TestClass)

Re: [Zope3-Users] Cloning interfaces/interface fields - how?

2008-02-19 Thread Hermann Himmelbauer
Am Dienstag, 19. Februar 2008 20:13 schrieb Marius Gedminas: On Tue, Feb 19, 2008 at 04:46:29PM +0100, Hermann Himmelbauer wrote: class SearchFrom(z3c.form.EditForm): fields = z3c.form.field.Fields(copy.deepcopy(IPerson).select('name')) Strike out the deepcopy and you've got the correct

Re: [Zope3-Users] How do you develop in zope 3?

2008-02-19 Thread Hermann Himmelbauer
Am Dienstag, 19. Februar 2008 16:22 schrieb [EMAIL PROTECTED]: Hello, * How do you develop in zope 3? *) Is it the way the experienced zope developers work? How do you set the environment for a site or a package development? I personally do it the old fashioned way: I downloaded the