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

2007-06-22 Thread Stephan Richter
On Wednesday 06 June 2007 11:11, Hermann Himmelbauer wrote: I'm currently studying your doctests in z3c.form and I have to say, they are really nice to read and understandable! Thanks! Great! I am glad you like it. I'm through with forms.txt and found some minor issues, so I attached a

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

2007-06-03 Thread David Pratt
One form demo might be a simple form that relates the input from one field to another in the form. For example two dropdown lists where second dropdown is based on what choice in first dropdown. The need for something like this is fairly common for apps I believe. Regards David Stephan

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

2007-05-31 Thread Maciej Wisniowski
It would be very interesting to see RDBMS interaction. Formlib for example is not trivial to use with RDBMS especially because of a lack of documentation and because everything seems to be written with ZODB objects in mind. It works together with a mapper like SQLAlchemy (and

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

2007-05-31 Thread Nikolay Kim
It works together with a mapper like SQLAlchemy (and z3c.zalchemy). IMHO, it is not formlib's task to do mappings like that. Not sure what mappings you're talking about. I just want to know how can I get some data from somewhere (it may be a file, RDBMS or other external source) and

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

2007-05-31 Thread Stephan Richter
On Thursday 31 May 2007 02:25, Nikolay Kim wrote: Not sure what mappings you're talking about. I just want to know how can I get some data from somewhere (it may be a file, RDBMS or other external source) and display it in a form, then edit this data etc. Formlib default forms (EditForm,

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

2007-05-31 Thread Hermann Himmelbauer
Am Donnerstag, 31. Mai 2007 08:09 schrieb Maciej Wisniowski: It would be very interesting to see RDBMS interaction. Formlib for example is not trivial to use with RDBMS especially because of a lack of documentation and because everything seems to be written with ZODB objects in mind.

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.

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

2007-05-31 Thread Hermann Himmelbauer
Am Donnerstag, 31. Mai 2007 10:16 schrieb 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

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

2007-05-31 Thread Maciej Wisniowski
I also still struggle with this issue. In my case, I have the following scenarios: I currently try to solve these issues with a self-made Form class, which descends from form.Form. In case you are interested, here is my docstring which somehow explains the basic idea: Thanks for the

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

2007-05-30 Thread Stephan Richter
On Friday 25 May 2007 02:55, Darryl Cousins wrote: Congratulations Stephan and Roger. Thanks. I've only read through 3 of the 5 'must read' doctest files. I remember my first reading of formlib/form.txt and being overwhelmed. This has been the opposite experience. Great! That's good to

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

2007-05-30 Thread Maciej Wisniowski
Thanks. BTW, I am still looking for 1-2 demos to write but I am out of ideas. Do have anything related to forms that you would like to see demoed? It would be very interesting to see RDBMS interaction. Formlib for example is not trivial to use with RDBMS especially because of a lack of

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

2007-05-30 Thread David Pratt
Another form related demo might show how to effectively use a data source with a large number of choices in a select list (like choosing a user in a select list from all users on the site) using an ajax widget where you can start typing and it will begin narrowing the choices - much like the

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

2007-05-30 Thread Stephan Richter
On Wednesday 30 May 2007 11:06, David Pratt wrote: 1) An iteration of the wizard that will not allow show submit button or allow submit until the end of all steps. I have implemented this feature. The Finish button will now only show up when all required fields are filled out. You can update

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

2007-05-30 Thread David Pratt
Hi Stephan. Thanks for your reply. For #2, the following excerpt from django's documentation located here: http://www.djangoproject.com/documentation/tutorial02/ snip And speaking of forms with dozens of fields, you might want to split the form up into fieldsets: class Admin: fields = (

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

2007-05-30 Thread Christian Theune
Am Mittwoch, den 30.05.2007, 18:12 +0200 schrieb Maciej Wisniowski: Thanks. BTW, I am still looking for 1-2 demos to write but I am out of ideas. Do have anything related to forms that you would like to see demoed? It would be very interesting to see RDBMS interaction. Formlib for

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

2007-05-30 Thread Stephan Richter
On Sunday 27 May 2007 18:55, Vinny wrote: I did try the above, but it complained about needing a newer setuptools than I had.  No big deal, I can update that easily enough. This is really strange. I thought that bootstrap.py would install the version of setuptools that is needed, but other

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 for that

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

2007-05-30 Thread Stephan Richter
On Wednesday 30 May 2007 12:27, David Pratt wrote: Another form related demo might show how to effectively use a data source with a large number of choices in a select list (like choosing a   user in a select list from all users on the site) using an ajax widget where you can start typing and

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

2007-05-30 Thread Stephan Richter
On Wednesday 30 May 2007 15:07, David Pratt wrote: class Admin: fields = ( (None, {'fields': ('question',)}), ('Date information', {'fields': ('pub_date',)}), ) This is s lame! We have this great OO language and they do such simple C-like structures.

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

2007-05-30 Thread Bernd Dorn
On 31.05.2007, at 05:08, Stephan Richter wrote: On Sunday 27 May 2007 18:55, Vinny wrote: I did try the above, but it complained about needing a newer setuptools than I had. No big deal, I can update that easily enough. This is really strange. I thought that bootstrap.py would install

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

2007-05-27 Thread Darryl Cousins
Hi Vinny, On Sun, 2007-05-27 at 18:55 -0400, Vinny wrote: For the curious and impatient ... - To run the demos do the following:: $ svn co svn://svn.zope.org/repos/main/z3c.formdemo/trunk formdemo $ cd formdemo $ python bootstrap.py $

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

2007-05-25 Thread Darryl Cousins
Hi, Congratulations Stephan and Roger. I've only read through 3 of the 5 'must read' doctest files. I remember my first reading of formlib/form.txt and being overwhelmed. This has been the opposite experience. The demos are impressive, to say the least. There is much by way of example in the