[Zope3-Users] z3c.form - how to set single default values from another object?

2008-02-20 Thread Hermann Himmelbauer
Hi, Hi, I have here an add form which is based on an interface like this: class IMyObj(Interface): value1 = TextLine() value2 = TextLine() In my add form, I need to display a default value for value2. This default value is stored in another object, however, no default value should be

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

2008-02-20 Thread Jürgen Kartnaller
[EMAIL PROTECTED] wrote: 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

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

2008-02-20 Thread Marius Gedminas
On Wed, Feb 20, 2008 at 09:22:06AM +0800, Fet Biz wrote: What to do next? If the make test results: -- Ran 9471 tests with 4 failures and 9 errors in 12 minutes 31.391 seconds. Tell us what version of

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

2008-02-20 Thread Marius Gedminas
On Tue, Feb 19, 2008 at 11:22:12AM -0400, [EMAIL PROTECTED] wrote: How do you develop in zope 3? The old-fashioned way, still. I haven't made the jump to eggs yet. So basically, what I do is: # Create a virtual environment $ python2.4 bin/virtual-python.py --prefix=~/zope3/ #

Re: [Zope3-Users] z3c.form - how to set single default values from another object?

2008-02-20 Thread Marius Gedminas
On Wed, Feb 20, 2008 at 01:10:57PM +0100, Hermann Himmelbauer wrote: Hi, I have here an add form which is based on an interface like this: class IMyObj(Interface): value1 = TextLine() value2 = TextLine() In my add form, I need to display a default value for value2. This default

Re: [Zope3-Users] z3c.form - how to set single default values from another object?

2008-02-20 Thread Stephan Richter
On Wednesday 20 February 2008, Hermann Himmelbauer wrote: 1.3) From an object attribute (don't really understand what this Step is for): Seems also not possible as there's once again no way to register a named adapter here and therefore the absence of value1 as object attribute will lead to an

Re: AW: AW: [Zope3-Users] z3c.form - howto ignore the context for singlewidgets in an Edit form?

2008-02-20 Thread Stephan Richter
On Monday 18 February 2008, Hermann Himmelbauer wrote: - Only widgets? - Combinations of schemas and widgets? - Also schemas without widgets (like an Email schema that inherits from a TextLine and thus uses a TextWidget)? These are good questions. We started already collecting the schema

Re: AW: AW: [Zope3-Users] z3c.form - howto ignore the context for singlewidgets in an Edit form?

2008-02-20 Thread Hermann Himmelbauer
Am Donnerstag, 21. Februar 2008 04:41 schrieb Stephan Richter: On Monday 18 February 2008, Hermann Himmelbauer wrote: - Only widgets? - Combinations of schemas and widgets? - Also schemas without widgets (like an Email schema that inherits from a TextLine and thus uses a TextWidget)?