Re: [Zope3-Users] z3c.form, checkboxes for Bool fields - thanks a lot, now: z3c.form egg from svn

2007-09-04 Thread Stephan Richter
On Tuesday 04 September 2007 21:13, Andreas Reuleaux wrote: Next question now: how do I tell zc.buildout to build an egg from svn for z3c.form? - I have tried this (adrn ist my application): My tree looks something like that: packages/ z3c.form/ -- svn://svn.zope.org/repos

AW: [Zope3-Users] z3c-form meta.zcml error

2008-01-23 Thread Roger Ineichen
etc. Also the zip or if I use --format=tar.gz contain the files. I guess they only get not extracted from the zip or tar.gz file. On my machine everyting is there and the eggs works like expected if the come form pypi ;-) -- D:\eggDev\z3c.form\tags\1.7.2python setup.py

Re: [Zope3-Users] z3c.form, checkboxes for Bool fields - thanks a lot, now: z3c.form egg from svn

2007-09-05 Thread Andreas Reuleaux
Thanks again, works like a charm, i. e. both: * your tree / buildout config with link to z3c.form from svn * and the new checkbox.SingleCheckBoxFieldWidget -Andreas On Tue, Sep 04, 2007 at 10:40:32PM -0400, Stephan Richter wrote: On Tuesday 04 September 2007 21:13, Andreas Reuleaux wrote

[Zope3-Users] z3c.formdemo fails upon ./bin/buildout

2007-09-12 Thread Fernando Correa Neto
Hi srs I think there was a mistake in the last version of z3c.form demo. (trunk) After running ./bin/buildout, it fails due to a develop = . z3c.form in buildout.cfg. I think z3c.form was supposed to be pulled from svn with a svn:externals set to z3c.form in the z3c.formdemo directory. Checking

Re: [Zope3-Users] z3c.form, checkboxes for Bool fields - thanks a lot, now: z3c.form egg from svn

2007-09-04 Thread Andreas Reuleaux
in the z3c.form trunk and I updated the All widgets demo as well showing the new widget. OK, thanks a lot. Next question now: how do I tell zc.buildout to build an egg from svn for z3c.form? - I have tried this (adrn ist my application): buildout.cfg ... find-links

Re: [Zope3-Users] Working with the last version of a module

2009-03-26 Thread Paul Carduner
Assuming your project is using svn, you can use svn:externals property to automatically check out the trunk version. i.e.: $ svn pedit svn:externals . some editor opens and you should add this: z3c.form svn://svn.zope.org/repos/main/z3c.form/trunk Once you have the externals set, you can add

AW: [Zope3-Users] z3c.form: ListWidget, ObjectWidget, and subform

2007-12-07 Thread Roger Ineichen
Hi Stephan, Christophe Betreff: Re: [Zope3-Users] z3c.form: ListWidget, ObjectWidget, and subform [...] I think as the popularity of z3c.form increases, it would be very interesting to have a z3c.form sprint. Does someone want to volunteer organizing one? Yes, why not, I can organize

[Zope3-Users] Re: z3c.form 1.4.0, z3c.formui 1.1.0, and z3c.formdemo 1.2.0 released!

2007-07-03 Thread Jeff Kowalczyk
Something in z3c.formdemo r77305 gives the following error (r77253 builds and runs): $ ./bin/buildout Develop: '/software/formdemo/.' Develop: '/software/formdemo/z3c.form' Traceback (most recent call last): File /tmp/tmpeS3r2n, line 10, in ? execfile('/software/formdemo/z3c.form

Re: [Zope3-Users] z3c.form 1.4.0, z3c.formui 1.1.0, and z3c.formdemo 1.2.0 released!

2007-07-04 Thread Stephan Richter
On Wednesday 04 July 2007 10:32, Gary Poster wrote: This currently fails. :~/Dev/formdemo gary$ ./bin/buildout -N Develop: '/Users/gary/Dev/formdemo/.' Develop: '/Users/gary/Dev/formdemo/z3c.form' Traceback (most recent call last):    File /tmp/tmp-58J2C, line 10, in ?      execfile

Re: [Zope3-Users] z3c.formdemo fails upon ./bin/buildout

2007-09-14 Thread Stephan Richter
On Wednesday 12 September 2007 16:27, Fernando Correa Neto wrote: I think there was a mistake in the last version of z3c.form demo. (trunk) After running ./bin/buildout, it fails due to a develop = . z3c.form in buildout.cfg. I think z3c.form was supposed to be pulled from svn

[Zope3-Users] z3c.form: small patch

2010-10-21 Thread Toni Mueller
Hello, since the zope3-dev list appears to be dead, and since I have no better idea about where to put this, I send you a small patch for z3c.form version 2.4.1. Background: https://bugs.launchpad.net/singing-dancing/+bug/620608 Users of SingingDancing in Plone need to detect whether z3c.form

Re: [Zope3-Users] z3c.formdemo fails upon ./bin/buildout

2007-09-13 Thread Christian Theune
Am Mittwoch, den 12.09.2007, 17:27 -0300 schrieb Fernando Correa Neto: Hi srs I think there was a mistake in the last version of z3c.form demo. (trunk) After running ./bin/buildout, it fails due to a develop = . z3c.form in buildout.cfg. I think z3c.form was supposed to be pulled from svn

Re: [Zope3-Users] z3c.form query widget

2008-04-11 Thread Fernando Correa Neto
Hey On Fri, Apr 11, 2008 at 11:53 AM, Roger Ineichen [EMAIL PROTECTED] wrote: Hi Fernando Betreff: Re: [Zope3-Users] z3c.form query widget Hey, On Thu, Apr 10, 2008 at 6:17 AM, Roger Ineichen [EMAIL PROTECTED] wrote: Use the new namespace z3c.formwidget and add

[Zope3-Users] Call for translating z3c.form

2008-09-04 Thread Dan Korostelev
Hello, fellow users and developers of zope components! I just added support for i18n in z3c.form, so it can be now translated to many languages. If you want to contribute to z3c.form internationalization, checkout the z3c.form.pot file from the z3c.form's trunk and translate it to your language

Re: [Zope3-Users] thoughts about z3c.form-package

2008-10-07 Thread Martin Aspeli
garz wrote: hey, while using z3c.form-package i reach its limits here and there. thats why i started to think about how a more general implemention should look like. A *more* general z3c.form sounds like a frightening prospect. :-) Martin -- Author of `Professional Plone Development

Re: [Zope3-Users] Looking for the Z3C tutorial?

2008-10-13 Thread Stephan Richter
On Thursday 09 October 2008, John de la Garza wrote: Is z3c.form replacing zope.formlib.form? I think z3c.form has most traction right now. Also, the Plone community is starting to move completely towards z3c.form. It also has more documentation. Regards, Stephan -- Stephan Richter Web

Re: [Zope3-Users] z3c.form / extjs

2008-11-19 Thread Stephan Richter
On Wednesday 19 November 2008, Laurent Mignon wrote: That could thus allow those having developed modules integrating zope3 / z3c.form / ... and extjs to publish and maintain the code in the Zope Repository. In the same time, it would be then again possible to collaborate in their development

Re: AW: [Zope3-Users] z3c.form: ListWidget, ObjectWidget, and subform

2007-12-08 Thread Christophe Combelles
Roger Ineichen a écrit : Hi Stephan, Christophe Betreff: Re: [Zope3-Users] z3c.form: ListWidget, ObjectWidget, and subform [...] I think as the popularity of z3c.form increases, it would be very interesting to have a z3c.form sprint. Does someone want to volunteer organizing one? Yes

Re: AW: [Zope3-Users] z3c.form: ListWidget, ObjectWidget, and subform

2007-12-07 Thread Markus Leist
+1 Markus Am Samstag 08 Dezember 2007 um 04:53 Uhr schrieb Roger Ineichen [EMAIL PROTECTED]: Hi Stephan, Christophe Betreff: Re: [Zope3-Users] z3c.form: ListWidget, ObjectWidget, and subform [...] I think as the popularity of z3c.form increases, it would be very interesting

[Zope3-Users] z3c-form meta.zcml error

2008-01-23 Thread Peter Koppatz
Hi, I installed a fresh virtualenv | zopeproject unsing z3c.form and got the following error: No such file or directory: '/Users/peter/temp/buildout-eggs/ z3c.form-1.7.2-py2.4.egg/z3c/form/meta.zcml' The older installation with z3c.form-1.7.0 works fine and there is a meta.zcml

[Zope3-Users] how work around broken egg?

2008-01-25 Thread John
I easy_installed a broken z3c.form-1.7.2-py2.4.egg into my zopeproject. I'd like to fix it. It looks possible to use svn to checkout 1.7.0 or 1.8.0 right into the egg directory. Will this work or is there some setup script to run? Is there a way to get 1.7.2 via svn (_1

Re: [Zope3-Users] Re: z3c.form install problem?

2008-02-02 Thread Stephan Richter
On Sunday 16 September 2007, Philipp von Weitershausen wrote: a) stay on Zope 3.3 and *don't* install z3c.form via setuptools. Simply copy the package to $INSTANCE/lib/python. That requires, of course, that z3c.form actually works on Zope 3.3. Yes, z3c.form is compatible with Zope 3.3. Though

AW: [Zope3-Users] z3c.form query widget

2008-04-11 Thread Roger Ineichen
Hi Fernando Betreff: Re: [Zope3-Users] z3c.form query widget Hey, On Thu, Apr 10, 2008 at 6:17 AM, Roger Ineichen [EMAIL PROTECTED] wrote: Use the new namespace z3c.formwidget and add a package like z3c.formwidget.xy for this new package. Just in case you guys need

[Zope3-Users] formlib to z3c.form widget adapter/bridge

2008-08-28 Thread Martin Aspeli
Hi, Has anyone written or thought about an adapter/bridge between formlib and z3c.form widgets? We have a few widgets that have no z3c.form equivalent, e.g. the formlib captcha widget. Whilst porting a widget isn't terribly hard, it would be really useful to have some kind of generic bridge

Re: [Zope3-Users] formlib to z3c.form widget adapter/bridge

2008-08-28 Thread Stephan Richter
On Thursday 28 August 2008, Martin Aspeli wrote: Has anyone written or thought about an adapter/bridge between formlib and z3c.form widgets? Not that I know of. But I think it might be hard to do due to the different definitions of what a widget and a field is. On the other hand, I might

[Zope3-Users] Re: z3c.formdemo fails upon ./bin/buildout

2007-09-15 Thread Philipp von Weitershausen
Stephan Richter wrote: On Wednesday 12 September 2007 16:27, Fernando Correa Neto wrote: I think there was a mistake in the last version of z3c.form demo. (trunk) After running ./bin/buildout, it fails due to a develop = . z3c.form in buildout.cfg. I think z3c.form was supposed to be pulled

[Zope3-Users] z3c.form version of a 'lines' widget

2008-07-06 Thread Martin Aspeli
Hi, Is there a z3c.form input widget that can work on zope.schema.Set with a value_type of zope.schema.TextLine. That is, a widget that lets the user build a list of values (e.g. one per line)? I see the selection widget, but that assumes that there's a vocabulary. Cheers, Martin

Re: [Zope3-Users] Looking for the Z3C tutorial?

2008-10-14 Thread Sebastien Douche
On Mon, Oct 13, 2008 at 23:16, Stephan Richter [EMAIL PROTECTED] wrote: I think z3c.form has most traction right now. Also, the Plone community is starting to move completely towards z3c.form. It also has more documentation. Great news (for Plone and for docs). -- Seb

[Zope3-Users] z3c.form / extjs

2008-11-17 Thread Mignon, Laurent
Hi, Following compatibility issues of licence, all the work related to integration between zope3 / z3c.form and extjs has been removed from the zope repository. Does some one say me if these developments were continued outside the zope repository and if they are publicly available. Thanks

[Zope3-Users] Working with the last version of a module

2009-03-26 Thread Simon Elbaz
Hi, I need to use z3c.form and the last downloadable release is 1.9.0 in the python package index. However, I would like to use the last version of z3c.form (trunk revision in svn.zope.org). How I could do that ? Thanks for your help Simon ___ Zope3

[Zope3-Users] z3c.form: Setting HTTP_AUTHORIZATION in header

2009-05-25 Thread Simon Elbaz
Hi, I would like to setup authentication in an application using HTTPBasicAuthCredentialsPlugin. For that, I need to set HTTP_AUTHORIZATION environment variable. How could I do that from within the add z3c.form method for example? Thanks for your help Simon

Re: [Zope3-Users] thoughts about z3c.form-package

2008-10-08 Thread Hermann Himmelbauer
Am Mittwoch 08 Oktober 2008 01:11:24 schrieb garz: hey, while using z3c.form-package i reach its limits here and there. thats why i started to think about how a more general implemention should look like. my intention of writing this is that i want to know what you are thinking about

Re: [Zope3-Users] thoughts about z3c.form-package

2008-10-08 Thread Roger Ineichen
Hi Hermann Betreff: Re: [Zope3-Users] thoughts about z3c.form-package [...] I think I'm not the only one here, I read quite often about similar problems in this list here, so this is my resumee: - z3c.form is complex - It's not obvious how to implement certain form-patterns - People

Re: [Zope3-Users] thoughts about z3c.form-package

2008-10-08 Thread Hermann Himmelbauer
Am Mittwoch 08 Oktober 2008 16:28:07 schrieb Roger Ineichen: Hi Hermann Betreff: Re: [Zope3-Users] thoughts about z3c.form-package [...] So, I think two solutions to that could be: - Improve the documentation (however, I'm unsure in what way, though). - Create a WIKI or something

Re: [Zope3-Users] thoughts about z3c.form-package

2008-10-09 Thread Hermann Himmelbauer
Am Mittwoch 08 Oktober 2008 17:14:35 schrieb Tim Cook: (Thanks Roger and Adam for your earlier replies.) On Wed, 2008-10-08 at 16:59 +0200, Hermann Himmelbauer wrote: Moreover, z3c.form is complex, but it isn't hard if one knows what to do/how to do - which leads me back to my WIKI idea

[Zope3-Users] Re: Invariants and forms

2007-08-13 Thread Nylan
Hermann Himmelbauer [EMAIL PROTECTED] writes: Am Montag, 13. August 2007 12:01 schrieb Darryl Cousins: Hi, This was answered recently me thinks. http://mail.zope.org/pipermail/zope3-users/2007-August/006648.html I think this covers a z3c.form-related issue, but not formlib

Re: [Zope3-Users] z3c.form, german umlauts on buttons - small patch, please review

2007-09-11 Thread Andreas Reuleaux
This small patch fixes the problem for me, please review: [EMAIL PROTECTED](~/tmp/z3c.form/src/z3c/form)$ svn diff Index: util.py === --- util.py (Revision 79574) +++ util.py (Arbeitskopie) @@ -30,7 +30,7 @@ def createId

Re: AW: [Zope3-Users] z3c.form: ListWidget, ObjectWidget, and subform

2007-12-07 Thread Stephan Richter
On Friday 07 December 2007, Roger Ineichen wrote: I think as the popularity of z3c.form increases, it would be very interesting to have a z3c.form sprint. Does someone want to volunteer organizing one? Yes, why not, I can organize one arround eastern next year in switzerland. Cool

Re: [Zope3-Users] z3c.form query widget

2008-04-11 Thread Stephan Richter
On Friday 11 April 2008, Fernando Correa Neto wrote: This is a port of z3c.widget.namespace which was created for zope.formlib but I needed to port it so I could use it in z3c.form. And yes, this is a widget traverser so you can use it like: http://localhost:8080/your_z3c.form/++widget++name

Re: [Zope3-Users] z3c.form in the apidoc code browser

2009-05-19 Thread John
zope and other links), even tho i added z3c.form, z3c.formui, and z3c.formjs to the setup.py file. maybe the z3c packages dont declare themselves to be apidoc-able? I saw them here. Did you add z3c.form to src/proj/configure.zcml as you described in your first mail

Re: [Zope3-Users] z3c.form - How to register IFormLayer?

2007-06-19 Thread Stephan Richter
is that their registrations are made on the default browser layer, making it (1) very hard to selectively add registrations to your own layer/skin, and (2) polluting the default browser layer. z3c.form fixes this problem by creating a new layer dedicated to the form registrations. All you need to do is to inherit

Re: [Zope3-Users] Using zope.formlib for a search form

2007-08-12 Thread Andrew Groom
Thanks for that, Hermann. Yes, it looks like I should have gone straight to z3c.form instead :-) Oh well, a good learning exercise. Cheers, Andrew. Hermann Himmelbauer wrote: Am Freitag, 10. August 2007 04:14 schrieb Andrew Groom: Hi All, I've been battling with formlib for the last three

AW: [Zope3-Users] Creating edit form with z3c.form

2007-08-18 Thread Roger Ineichen
Hi Florian Betreff: [Zope3-Users] Creating edit form with z3c.form Hello, I try to create an edit form with z3c.form but it gives me an system error only: [...] ComponentLookupError: ((zope.app.publisher.browser.viewmeta.EditEntry object at 0x9f6c68c

AW: [Zope3-Users] z3c.form query widget

2008-04-10 Thread Roger Ineichen
Hi Malte Betreff: [Zope3-Users] z3c.form query widget I've searched and not found a z3c.form-widget that can support a source that supports text queries (a la Plone's uberselectionwidget). The spec is not defined in Zope, but it's basically: class IQuerySource(ISource

[Zope3-Users] Re: XML schema definitions,zope.schema and z3c.form

2008-06-02 Thread Nylan
Thanks a lot for your input! Best regards! ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users

[Zope3-Users] A slew of z3c.form questions

2008-07-06 Thread Martin Aspeli
Hi, I'm using z3c.form in Plone via plone.z3cform. The z3c.form documentation is very good and very detailed, but I must admit to getting a bit lost in all of it. :) To that end, I have a few questions. I'm creating a pair of add- and edit forms for a content item: - I've created a few

Re: [Zope3-Users] z3c.form: LookupErrors

2009-04-08 Thread Martin Aspeli
Stephan Richter wrote: On Wednesday 08 April 2009, Martin Aspeli wrote: What I'd like to see: 1) z3c.form catches the LookupError and treats it as a valdiation error (even on first render of the form), not a fatal error 2) z3c.form defaults to missing_value if there is a LookupError

Re: [Zope3-Users] z3c.form: small patch

2010-10-21 Thread Jens Vagelpohl
://bugs.launchpad.net/singing-dancing/+bug/620608 which tracker at Launchpad? I've put the whole story into this bug report, but the home page for z3c.form does not mention any associated tracker, and neither does the z3c.form documentation page. If you go to launchpad.net and search

Re: [Zope3-Users] thoughts about z3c.form-package

2008-10-08 Thread garz
thx for your replies! now i have new stuff to think about. :) Can you give an example what you can't do with z3c.form? i think z3c.form is in respect of what can be done with it general enough. i can realize what i want to do with it plus i know how to do it. it isnt that i dont understand

[Zope3-Users] Re: [Zope3-dev] z3c.form 1.0.0 released!

2007-05-25 Thread Bernd Dorn
On 24.05.2007, at 18:01, Stephan Richter wrote: Roger and I are proud to announce the first release of the new form and widget framework ``z3c.form``! After years of talking about it, months of thinking about it and many weeks of implementation, we have finally completed it. hi stephan

[Zope3-Users] z3c.form now has group support

2007-06-26 Thread Stephan Richter
Hi David, I just wanted to let you know that I just checked in some group support for z3c.form. I am quite happy how it turned out. I have not done any formui work or wrote an example, but there is a group.txt document explaining how it works. Regards, Stephan -- Stephan Richter CBU Physics

Re: [Zope3-Users] z3c.form and subforms in an AddForm?

2007-07-04 Thread Stephan Richter
On Wednesday 04 July 2007 12:59, Matt Bowen wrote: File /opt/zope/python2.4/lib/python2.4/site-packages/z3c.form- 1.3.0-py2.4.egg/z3c/form/form.py, line 144, in __call__ self.update() File /opt/zope/python2.4/lib/python2.4/site-packages/z3c.form- 1.3.0-py2.4.egg/z3c/form/form.py, line

Re: [Zope3-Users] z3c.form, checkboxes for Bool fields

2007-09-07 Thread Darryl Cousins
in the z3c.form trunk and I updated the All widgets demo as well showing the new widget. Thanks Stephan. Regards, Darryl Regards, Stephan ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users

[Zope3-Users] formlib vs z3c.form

2007-12-06 Thread Chris Withers
Chris Withers wrote: I need something like formlib so want to give it a spin. Is there a good how-to or example anywhere? Kapil rightly pointed out off-list that z3c.form is the latest and greatest. Which one is best and where do I go for docs/examples? cheers, Chris -- Simplistix

Re: [Zope3-Users] how to use invariant/validator? (z3c.form=1.6 and z3c.formui=1.3)

2008-02-02 Thread Stephan Richter
On Friday 21 September 2007, Kai Krackler wrote:    - __traceback_info__: (zope.interface.exceptions.Invalid instance at 0x2b2d6e6af440, 'widget', ['label']) TypeError: tuple indices must be integers Does this error still happen with z3c.form 1.8? Regards, Stephan -- Stephan Richter Web

[Zope3-Users] z3c.form query widget

2008-04-10 Thread Malthe Borch
I've searched and not found a z3c.form-widget that can support a source that supports text queries (a la Plone's uberselectionwidget). The spec is not defined in Zope, but it's basically: class IQuerySource(ISource): def search(query_string): Return values that matches query

Re: [Zope3-Users] z3c.form query widget

2008-04-11 Thread Fernando Correa Neto
Hey, On Thu, Apr 10, 2008 at 6:17 AM, Roger Ineichen [EMAIL PROTECTED] wrote: Use the new namespace z3c.formwidget and add a package like z3c.formwidget.xy for this new package. Just in case you guys need it for something, I've ported the z3c.form.namespace so it can be used in z3c.form

[Zope3-Users] z3c.form - content add and edit forms

2008-07-15 Thread Martin Aspeli
Hi, It's very common to have a content type that has both an add- and an edit form. If you have custom widget setup code and other logic, you often have to replicate this across both forms to make them consistent. Is there a standard/recommended z3c.form pattern to reduce duplication

Re: [Zope3-Users] z3c.form and subforms in an AddForm?

2007-06-16 Thread gnosis
Thanks for your response Marius Really? Usually in Zope 3 (zope.app.form or zope.formlib) the context of an add form is the IAdding view. To get the container you have to use self.context.context. The default implementation according to z3c.form documentation is that an AddForm is registered

Re: [Zope3-Users] z3c.form 1.4.0, z3c.formui 1.1.0, and z3c.formdemo 1.2.0 released!

2007-07-04 Thread Gary Poster
formdemo $ python bootstrap.py $ ./bin/buildout -N This currently fails. :~/Dev/formdemo gary$ ./bin/buildout -N Develop: '/Users/gary/Dev/formdemo/.' Develop: '/Users/gary/Dev/formdemo/z3c.form' Traceback (most recent call last): File /tmp/tmp-58J2C, line 10, in ? execfile('/Users/gary

Re: [Zope3-Users] formlib vs z3c.form

2007-12-06 Thread Adam Summers
Hi, A quick, blind question. I've been evaluating grok and am very impressed at how easy it makes the whole development process. How hard is it to get grok to play nicely with z3c.form et al? Has anyone any examples? Thanks and Regards, Adam Christophe Combelles wrote: Chris Withers

[Zope3-Users] z3c.form 2.0.0 released!

2009-06-13 Thread Stephan Richter
Hello everyone, on behalf of the `z3c.form` developers, I am proud to announce the next major released of `z3c.form` 2.0.0. `z3c.form` form is a flexible, rapid-development form framework for Zope 3. Thanks goes to everyone who helped out with the release! For the curious and impatient

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

2008-02-08 Thread Roger Ineichen
Hi all Betreff: Re: [Zope3-Users] z3c.form - howto ignore the context for singlewidgets in an Edit form? On Friday 08 February 2008, Hermann Himmelbauer wrote: What's your opinion on this, Stephan? One important design goal for z3c.form is not to be JS dependent. This is what we

Re: AW: AW: [Zope3-Users] subform support for z3c.form

2008-07-17 Thread garz
Roger Ineichen wrote: Hi garz, Stephan, Paul Betreff: Re: AW: [Zope3-Users] subform support for z3c.form [...] ok, i created a new repository now, because i'm not able to create a new branch at svn.zope.org respective im too dumb, even after i read all those svn related documents

Re: [Zope3-Users] z3c.form - How to register IFormLayer?

2007-06-21 Thread Hermann Himmelbauer
? The problem with the older form-related frameworks is that their registrations are made on the default browser layer, making it (1) very hard to selectively add registrations to your own layer/skin, and (2) polluting the default browser layer. z3c.form fixes this problem by creating a new layer dedicated

Re: [Zope3-Users] formlib vs z3c.form

2007-12-06 Thread Christophe Combelles
Chris Withers a écrit : Chris Withers wrote: I need something like formlib so want to give it a spin. Is there a good how-to or example anywhere? Kapil rightly pointed out off-list that z3c.form is the latest and greatest. Which one is best and where do I go for docs/examples? The main

Re: [Zope3-Users] z3c.form: ListWidget, ObjectWidget, and subform

2007-12-09 Thread Martijn Faassen
just made of 3 TextLine fields. Doing this is quite easy with the formlib, or maybe I got used to it, but I'd really like to be able to do all the same things with z3c.form Just so you know I really look for such features too. z3c.form simply declares that subforms are the way to go, but when I

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

2008-02-08 Thread Hermann Himmelbauer
that they can be reused by others. Moreover, this would also be a good entry point for people developing new widgets. Why not contributing directly into z3c.form ? There are already too many packages. Splitting things into eggs was a good thing, but too many eggs is worse. I suggest to do

AW: AW: [Zope3-Users] subform support for z3c.form

2008-07-16 Thread Roger Ineichen
Hi garz, Stephan, Paul Betreff: Re: AW: [Zope3-Users] subform support for z3c.form [...] ok, i created a new repository now, because i'm not able to create a new branch at svn.zope.org respective im too dumb, even after i read all those svn related documents. :D i dont think that i have

Re: AW: AW: [Zope3-Users] subform support for z3c.form

2008-07-17 Thread Stephan Richter
On Thursday 17 July 2008, garz wrote: a.) Do a standalone subform-package and have it all included in one place. b.) Do a complete integration with pagelet-patterned forms in z3c.form and have it on one place too, but having two variations of the same form-classes in one package, which might

Re: [Zope3-Users] thoughts about z3c.form-package

2008-10-09 Thread Hermann Himmelbauer
Am Donnerstag 09 Oktober 2008 04:24:25 schrieb garz: thx for your replies! now i have new stuff to think about. :) Can you give an example what you can't do with z3c.form? i think z3c.form is in respect of what can be done with it general enough. i can realize what i want to do with it plus

AW: [Zope3-Users] AW: z3c.form and subforms in an AddForm?

2007-06-17 Thread Roger Ineichen
Hi Mats Betreff: Re: [Zope3-Users] AW: z3c.form and subforms in an AddForm? Roger, Thanks for your reply. I'm still having problems getting this to work. I'm not sure I am supposed to use a BaseForm, Form, AddForm, or what, for the sub-item. I'm not sure how to register

[Zope3-Users] Re: Introducing z3c.form - widget snippets

2007-07-13 Thread Stephan Richter
On Wednesday 11 July 2007 12:14, Hermann Himmelbauer wrote: Please tell me what you think, if you like it, perhaps it could be included in z3c.form? I have the same question as Roger. What do these snippets do that cannot be done with macros or viewlets already? When doing custom projects, I

Re: [Zope3-Users] Using zope.formlib for a search form

2007-08-10 Thread Hermann Himmelbauer
Am Freitag, 10. August 2007 04:14 schrieb Andrew Groom: Hi All, I've been battling with formlib for the last three days now and, while Uh oh, sorry, formlib. My example was based on z3c.form. Anyway, I would recommend you to have a decent look at this library, as I struggled a lot

Re: [Zope3-Users] z3c.form: Howto include validation errors into a custom pagetemplate?

2007-08-14 Thread Hermann Himmelbauer
to be empty but validation error occurs. What should i do to display validation errors? Are you sure that view/widgets/errors are empty? I'd recommend to check that in the view class - maybe it's only a pagetemplate problem. Moreover there was some problem with z3c.form + invariants, so if you

Re: [Zope3-Users] Creating edit form with z3c.form

2007-08-20 Thread Hermann Himmelbauer
it.) It's a real browser request (not generated by some piece of test code, but from a real browser) with no layer (thus the default layer). Moreover mostly indentical code that uses formlib works perfectly. As far as I know, formlib-based forms work with the default layer, while z3c.form-based

[Zope3-Users] z3c.form, german umlauts on buttons

2007-09-08 Thread Andreas Reuleaux
, line 491, in MyDisplayForm @button.buttonAndHandler(u'Ändern') File /home/reuleaux/tmp/z3c.form/src/z3c/form/button.py, line 181, in buttonAndHandler f_locals['buttons'] += Buttons(button) File /home/reuleaux/tmp/z3c.form/src/z3c/form/button.py, line 83, in __init__

[Zope3-Users] Re: z3c.form install problem?

2007-09-16 Thread Philipp von Weitershausen
dependencies, which means Zope 3.4.x as you observed correctly. Either way, doing a global install is probably the worst thign you can do (see below). Either you a) stay on Zope 3.3 and *don't* install z3c.form via setuptools. Simply copy the package to $INSTANCE/lib/python. That requires

[Zope3-Users] z3c.form: ListWidget, ObjectWidget, and subform

2007-12-07 Thread Christophe Combelles
Hi, z3c.form looks very well thought and extremely customizable, but I find it complicated for some common and simple cases. Does someone have any simple example apart from z3c.formdemo, to get the same result as the ListSequenceWidget and the ObjectWidget in the formlib? 1- The first thing

Re: [Zope3-Users] how work around broken egg?

2008-01-27 Thread Stephan Richter
On Friday 25 January 2008, John wrote: I easy_installed a broken z3c.form-1.7.2-py2.4.egg into my zopeproject.   I'd like to fix it.  It looks possible to use svn to checkout 1.7.0 or 1.8.0 right into the egg directory.  Will this work or is there some setup script to run?  Is there a way

Re: [Zope3-Users] zcml for z3c.form

2008-01-27 Thread Stephan Richter
Hi John, On Thursday 24 January 2008, John wrote: I'm converting from formlib to z3c.form. Cool! :-) What should my configure.zcml look like? For formlib it is:   browser:page     for=zope.app.container.interfaces.IAdding     name=.Person     class=.browser.PersonAddForm

[Zope3-Users] SessionCredentialsPlugin + z3c.pagelets/z3c.form

2008-02-04 Thread Hermann Himmelbauer
Hi, I'm currently trying to integrate the SessionCredentialsPlugin with z3c.pagelets / z3c.form. I currently set up a simple z3c.form-based login page and configured the loginfield/passwordfield to form.widgets.login/password. Now I can login, but I still have some problems: 1) I'd like

Re: [Zope3-Users] z3c.form query widget

2008-04-11 Thread Fernando Correa Neto
Hey On Fri, Apr 11, 2008 at 12:22 PM, Stephan Richter [EMAIL PROTECTED] wrote: On Friday 11 April 2008, Fernando Correa Neto wrote: This is a port of z3c.widget.namespace which was created for zope.formlib but I needed to port it so I could use it in z3c.form. And yes, this is a widget

AW: [Zope3-Users] subform support for z3c.form

2008-07-13 Thread Roger Ineichen
Hi garz, Stephan, Paul Betreff: [Zope3-Users] subform support for z3c.form hi, after i didnt like the way z3c.formdemo-package solved the subform problem by using sessions, i decided to write a package that supports subforms that are able to extract the needed information from

[Zope3-Users] z3c.form: Data Manager - getting value via dm.query() instead of dm.get()

2008-08-13 Thread Hermann Himmelbauer
Hi, I'm developing a z3c.form based form, which should store it's form values in the session. To accomplish that, the form needs to retrieve it's values from the session. My idea was to simply store the form data in the button handler method into the session as a dictionary. z3c.form then offers

[Zope3-Users] Searchable sources and z3c.form

2008-08-25 Thread Martin Aspeli
Hi, What is the canonical way to do search-based sources/vocabularies? In particular, I want to use them with z3c.form. In zope.schema, I see mention of an ISourceQueriables. I also see these in zope.app.form, but not in z3c.form. I'm also not quite sure I understand how these work

Re: [Zope3-Users] z3c.form / extjs

2008-11-19 Thread Laurent Mignon
Stephan Richter wrote: On Monday 17 November 2008, Mignon, Laurent wrote: Following compatibility issues of licence, all the work related to integration between zope3 / z3c.form and extjs has been removed from the zope repository. Does some one say me if these developments were

Re: [Zope3-Users] z3c.form / extjs

2008-11-20 Thread Laurent Mignon
Stephan Richter wrote: On Wednesday 19 November 2008, Laurent Mignon wrote: That could thus allow those having developed modules integrating zope3 / z3c.form / ... and extjs to publish and maintain the code in the Zope Repository. In the same time, it would be then again possible

[Zope3-Users] z3c.form image upload widget

2009-03-06 Thread Martin Aspeli
Hi, I'm in need of a z3c.form form that supports image uploads. Ideally, it should support optional and mandatory fields, and in 'edit' mode it should allow the user to either keep the current image or replace it with a new one (Plone/Archetypes has a radio button + a file upload widget

Re: [Zope3-Users] z3c.form image upload widget

2009-03-06 Thread Martin Aspeli
Roger Ineichen wrote: I think everything should be there for a simple file upload. The z3c.form doesn't have enhanced upload features. One way to implement an object replacement whould be to ad an addditional field (bool) in the object schema and depneding on that input replace the file

[Zope3-Users] z3c.form: LookupErrors

2009-04-07 Thread Martin Aspeli
Hi, In z3c.form (at least with 1.9.0), if you have a Choice field and the vocabulary changes so that an existing value (or the default value on an add form) is no longer valid, you get a LookupError: Module z3c.form.form, line 126, in updateWidgets Module z3c.form.field, line 259

[Zope3-Users] z3c.form permission problem

2009-10-27 Thread Andre Schubert
Hi all, i have found a problem within z3c.form. I have the following scenario. Lets say i have a object Foo with two attributes A and B. I have setup a z3c.form EditForm for all objects Foo. If there is a user UserA with read/write access to Foo.A and Foo.B, the form is rendered correctly

Re: [Zope3-Users] z3c.form / TextLine-Schema in List-Schema

2007-09-03 Thread Markus Leist
/ict_ok/components/host/browser/host.py ] with HostDetails.omit_editfields = ['osList'] z3c.form work great, so accordingly the request must be ok, right? form registration is in line 44 of http://trac.ict-ok.org/browser/trunk/org/ict_ok/components/host/browser/configure.zcml you can see my

Re: [Zope3-Users] formlib vs z3c.form

2007-12-06 Thread Darryl Cousins
Hi, On Fri, 2007-12-07 at 06:09 +0800, Adam Summers wrote: Hi, A quick, blind question. I've been evaluating grok and am very impressed at how easy it makes the whole development process. How hard is it to get grok to play nicely with z3c.form et al? Has anyone any examples? Some

Re: [Zope3-Users] z3c.form image upload widget

2009-03-06 Thread Roger Ineichen
Hi Mrtin Betreff: [Zope3-Users] z3c.form image upload widget Hi, I'm in need of a z3c.form form that supports image uploads. Ideally, it should support optional and mandatory fields, and in 'edit' mode it should allow the user to either keep the current image or replace it with a new

Re: [Zope3-Users] z3c.form 1.0.0 released!

2007-05-30 Thread Stephan Richter
On Monday 28 May 2007 01:55, Darryl Cousins wrote: As to the version - I have no idea how that works with the egg distribution of separate packages. Both Zope 3.3 and Zope 3.4 work now with the z3c.form* packages. Of course, there are no eggs for Zope 3.3, so you cannot use setuptools

Re: [Zope3-dev] Re: [Zope3-Users] z3c.form 1.0.0 released!

2007-05-31 Thread Stephan Richter
On Thursday 31 May 2007 03:48, Hermann Himmelbauer wrote: Anyway, in my case a decent ORM-integration with Zope3 forms is still a key issue to me. If you provide me with a simple hello world-like example of the ORM stuff you are using, then I will give it a try to write a demo for z3c.form

[Zope3-Users] z3c.form - How to register IFormLayer?

2007-06-15 Thread Hermann Himmelbauer
Hi, I'm currently testing z3c.form in my project, however I could not get it running until I found out that the request object must provide IFormLayer. I temporarily solved this through a dirty hack in the form.py file (alsoProvides(self.request, IFormLayer)), but I'd rather like to have

[Zope3-Users] Re: z3c.form - How to register IFormLayer?

2007-06-15 Thread Philipp von Weitershausen
Hermann Himmelbauer wrote: Hi, I'm currently testing z3c.form in my project, however I could not get it running until I found out that the request object must provide IFormLayer. I temporarily solved this through a dirty hack in the form.py file (alsoProvides(self.request, IFormLayer

[Zope3-Users] Re: [Zope] z3c.form 1.3.0, z3c.formui 1.0.1, and z3c.formdemo 1.1.0 released!

2007-06-25 Thread Stephan Richter
On Sunday 24 June 2007 23:11, Jeff Kowalczyk wrote: On Sun, 24 Jun 2007 22:42:35 -0400, Stephan Richter wrote: Yes, thanks for the report. Cheeseshop was slow on Friday, so I could not try the package. I just released formdemo 1.1.1, which fixes the problem. Thanks for the z3c.form package

  1   2   3   4   5   >