Re: [Zope-dev] z3c.form 2.0

2009-02-10 Thread Laurent Mignon
Hi, With the replacement of zope.app.component import with zope.site, it's no more possible to use z3c.form with Zope2 / Plone :-( In fact, zope.site require zope.container requiring ZODB3 :-( I can't find any solutions to solve this problem. It is really damage to lose the possibility of

Re: [Zope-dev] z3c.form 2.0

2009-02-10 Thread Laurent Mignon
Laurent Mignon wrote: Hi, With the replacement of zope.app.component import with zope.site, it's no more possible to use z3c.form with Zope2 / Plone :-( In fact, zope.site require zope.container requiring ZODB3 :-( I can't find any solutions to solve this problem. It is really damage

Re: [Zope-dev] z3c.form 2.0

2009-02-10 Thread Laurent Mignon
Martin Aspeli wrote: Laurent Mignon wrote: Hi, With the replacement of zope.app.component import with zope.site, it's no more possible to use z3c.form with Zope2 / Plone :-( In fact, zope.site require zope.container requiring ZODB3 :-( Why can't you put these eggs into your Plone

Re: [Zope-dev] z3c.form 2.0

2009-02-10 Thread Laurent Mignon
Dan Korostelev wrote: 2009/2/10 Laurent Mignon laurent.mig...@softwareag.com: The problem encountered is that zope.container specify ZODB3 as a main dependency. After checking the code, it seems that ZODB is only required for tests. If I modify zope.container.setup.py to specify ZODB3

Re: [Zope-dev] z3c.form 2.0

2009-02-10 Thread Laurent Mignon
Dan Korostelev wrote: 2009/2/10 Laurent Mignon laurent.mig...@softwareag.com: Dan Korostelev wrote: 2009/2/10 Laurent Mignon laurent.mig...@softwareag.com: The problem encountered is that zope.container specify ZODB3 as a main dependency. After checking the code, it seems that ZODB is only

Re: [Zope-dev] z3c.form 2.0

2009-02-10 Thread Laurent Mignon
Stephan Richter wrote: On Tuesday 10 February 2009, Laurent Mignon wrote: With the replacement of zope.app.component import with zope.site, it's no more possible to use z3c.form with Zope2 / Plone :-( Thanks for getting our attention on this. I consider this a show-stopper for 2.0. Dan

Re: [Zope-dev] z3c.form 2.0

2009-02-10 Thread Laurent Mignon
Stephan Richter wrote: On Tuesday 10 February 2009, Laurent Mignon wrote: BUT I wonder if the way that z3c.form compute resource url stay compatible with zope2 from zope.site import hooks class ImageButtonAction(image.ImageWidget, ButtonAction): zope.component.adapts

Re: [Zope-dev] z3c.form 2.0

2009-02-10 Thread Laurent Mignon
Daniel Nouri wrote: Laurent Mignon laurent.mig...@softwareag.com writes: Stephan Richter wrote: On Tuesday 10 February 2009, Laurent Mignon wrote: With the replacement of zope.app.component import with zope.site, it's no more possible to use z3c.form with Zope2 / Plone :-( Thanks

Re: [Zope-dev] z3c.form 2.0

2009-02-11 Thread Laurent Mignon
Stephan Richter wrote: On Wednesday 11 February 2009, Dan Korostelev wrote: Thanks for getting our attention on this. I consider this a show-stopper for 2.0. Dan, let's think about something creative that allows us to use the new and old way, maybe through a special import statement like that:

Re: [Zope-dev] z3c.form 2.0

2009-02-11 Thread Laurent Mignon
Tres Seaver wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dan Korostelev wrote: 2009/2/10 Stephan Richter srich...@cosmos.phy.tufts.edu: On Tuesday 10 February 2009, Laurent Mignon wrote: With the replacement of zope.app.component import with zope.site, it's no more possible to use

[Zope-dev] z3c.form and Nested group

2009-02-27 Thread Laurent Mignon
Hi all, I'd like to introduce into z3c.form the support to nested group. I've created a branch with modified code and tests. see svn://svn.zope.org/repos/main/z3c.form/branches/sagblmi-nestedgroup If you are alright with this modification, I propose to you to merge the branch with the trunk.

[Zope-dev] z3c.form: nested group

2009-03-11 Thread Laurent Mignon
Hi, 2 weeks ago, I've implemented a support for nested group into the branch svn://svn.zope.org/repos/main/z3c.form/branches/sagblmi-nestedgroup All test pass and no compatibility issue. Can I merge it to the trunk? Regards Laurent Mignon ___ Zope

Re: [Zope-dev] z3c.form: nested group

2009-03-12 Thread Laurent Mignon
Martin Aspeli wrote: Laurent Mignon wrote: Hi, 2 weeks ago, I've implemented a support for nested group into the branch svn://svn.zope.org/repos/main/z3c.form/branches/sagblmi-nestedgroup All test pass and no compatibility issue. Can I merge it to the trunk? What's the use case

Re: [Zope-dev] implementing zope.component 4.0

2009-11-30 Thread Laurent Mignon
Gary Poster wrote: On Nov 30, 2009, at 3:49 PM, Charlie Clark wrote: Then to the multiadapter concern I raised, all my real-world examples of adapters are to adapt one object so it can be used in a certain way (to integrate with another kind of object). Power adapters, for instance, adapt

Re: [Zope-dev] SVN: z3c.form/trunk/ ``GroupForm`` and ``Group`` now use ``getContent`` method when instantiating group classes instead of directly accessing ``self.context``, as this is the usual way

2010-01-19 Thread Laurent Mignon
Hi, I doesn't understand the motivation behind this change and I've the feeling that it'll break some existing code May be am I wrong but ``getContent`` method is used to provides values to widgets and actions as described into the interface: '''Return the content to be displayed and/or

Re: [Zope-dev] SVN: z3c.form/trunk/ ``GroupForm`` and ``Group`` now use ``getContent`` method when instantiating group classes instead of directly accessing ``self.context``, as this is the usual way

2010-01-19 Thread Laurent Mignon
Michael Howitz wrote: The motivation is the following: self.getContent() seems to be the pattern to access the context of a form. I used grep: there is no place where self.context is used directly besides in group.py. So it seems to be an error in the code not to use the common pattern.

Re: [Zope-dev] SVN: z3c.form/trunk/ ``GroupForm`` and ``Group`` now use ``getContent`` method when instantiating group classes instead of directly accessing ``self.context``, as this is the usual way

2010-01-19 Thread Laurent Mignon
On Tue, 2010-01-19 at 15:33 -0500, Stephan Richter wrote: On Tuesday 19 January 2010, Michael Howitz wrote: class AddressGroup(group.Group): label = 'Address' fields = field.Fields(zope.schema.TextLine( __name__ = 'owner', title='Owner',